Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 159199
b: refs/heads/master
c: 51def0b
h: refs/heads/master
i:
  159197: 38bfc7a
  159195: ed51083
  159191: 9301ffa
  159183: 65322db
  159167: fef3d96
v: v3
  • Loading branch information
Tomas Winkler authored and David S. Miller committed Jul 27, 2009
1 parent 7f2e31d commit 33f1858
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1896e61ff7cc1c9dd0d8b1cf4a9426a0f7217a20
refs/heads/master: 51def0bea92629dff02ff1de40603eb90c609c55
12 changes: 5 additions & 7 deletions trunk/drivers/net/wimax/i2400m/sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
*/

#include <linux/debugfs.h>
#include <linux/mmc/sdio_ids.h>
#include <linux/mmc/sdio.h>
#include <linux/mmc/sdio_func.h>
#include "i2400m-sdio.h"
Expand Down Expand Up @@ -501,15 +502,12 @@ void i2400ms_remove(struct sdio_func *func)
d_fnend(3, dev, "SDIO func %p\n", func);
}

enum {
I2400MS_INTEL_VID = 0x89,
};

static
const struct sdio_device_id i2400ms_sdio_ids[] = {
/* Intel: i2400m WiMAX over SDIO */
{ SDIO_DEVICE(I2400MS_INTEL_VID, 0x1402) },
{ }, /* end: all zeroes */
/* Intel: i2400m WiMAX (iwmc3200) over SDIO */
{ SDIO_DEVICE(SDIO_VENDOR_ID_INTEL,
SDIO_DEVICE_ID_INTEL_IWMC3200WIMAX) },
{ /* end: all zeroes */ },
};
MODULE_DEVICE_TABLE(sdio, i2400ms_sdio_ids);

Expand Down
4 changes: 3 additions & 1 deletion trunk/drivers/net/wireless/iwmc3200wifi/sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
#include <linux/kernel.h>
#include <linux/netdevice.h>
#include <linux/debugfs.h>
#include <linux/mmc/sdio_ids.h>
#include <linux/mmc/sdio.h>
#include <linux/mmc/sdio_func.h>

Expand Down Expand Up @@ -492,7 +493,8 @@ static void iwm_sdio_remove(struct sdio_func *func)
}

static const struct sdio_device_id iwm_sdio_ids[] = {
{ SDIO_DEVICE(SDIO_VENDOR_ID_INTEL, SDIO_DEVICE_ID_IWM) },
{ SDIO_DEVICE(SDIO_VENDOR_ID_INTEL,
SDIO_DEVICE_ID_INTEL_IWMC3200WIFI) },
{ /* end: all zeroes */ },
};
MODULE_DEVICE_TABLE(sdio, iwm_sdio_ids);
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/net/wireless/iwmc3200wifi/sdio.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@
#ifndef __IWM_SDIO_H__
#define __IWM_SDIO_H__

#define SDIO_VENDOR_ID_INTEL 0x89
#define SDIO_DEVICE_ID_IWM 0x1403

#define IWM_SDIO_DATA_ADDR 0x0
#define IWM_SDIO_INTR_ENABLE_ADDR 0x14
#define IWM_SDIO_INTR_STATUS_ADDR 0x13
Expand Down
6 changes: 6 additions & 0 deletions trunk/include/linux/mmc/sdio_ids.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@
/*
* Vendors and devices. Sort key: vendor first, device next.
*/
#define SDIO_VENDOR_ID_INTEL 0x0089
#define SDIO_DEVICE_ID_INTEL_IWMC3200WIMAX 0x1402
#define SDIO_DEVICE_ID_INTEL_IWMC3200WIFI 0x1403
#define SDIO_DEVICE_ID_INTEL_IWMC3200TOP 0x1404
#define SDIO_DEVICE_ID_INTEL_IWMC3200GPS 0x1405
#define SDIO_DEVICE_ID_INTEL_IWMC3200BT 0x1406

#define SDIO_VENDOR_ID_MARVELL 0x02df
#define SDIO_DEVICE_ID_MARVELL_LIBERTAS 0x9103
Expand Down

0 comments on commit 33f1858

Please sign in to comment.