| .. | .. |
|---|
| 799 | 799 | |
|---|
| 800 | 800 | sdio_claim_host(func); |
|---|
| 801 | 801 | |
|---|
| 802 | | - if ((ar_sdio->id->device & MANUFACTURER_ID_ATH6KL_BASE_MASK) >= |
|---|
| 803 | | - MANUFACTURER_ID_AR6003_BASE) { |
|---|
| 802 | + if (ar_sdio->id->device >= SDIO_DEVICE_ID_ATHEROS_AR6003_00) { |
|---|
| 804 | 803 | /* enable 4-bit ASYNC interrupt on AR6003 or later */ |
|---|
| 805 | 804 | ret = ath6kl_sdio_func0_cmd52_wr_byte(func->card, |
|---|
| 806 | 805 | CCCR_SDIO_IRQ_MODE_REG, |
|---|
| .. | .. |
|---|
| 1409 | 1408 | } |
|---|
| 1410 | 1409 | |
|---|
| 1411 | 1410 | static const struct sdio_device_id ath6kl_sdio_devices[] = { |
|---|
| 1412 | | - {SDIO_DEVICE(MANUFACTURER_CODE, (MANUFACTURER_ID_AR6003_BASE | 0x0))}, |
|---|
| 1413 | | - {SDIO_DEVICE(MANUFACTURER_CODE, (MANUFACTURER_ID_AR6003_BASE | 0x1))}, |
|---|
| 1414 | | - {SDIO_DEVICE(MANUFACTURER_CODE, (MANUFACTURER_ID_AR6004_BASE | 0x0))}, |
|---|
| 1415 | | - {SDIO_DEVICE(MANUFACTURER_CODE, (MANUFACTURER_ID_AR6004_BASE | 0x1))}, |
|---|
| 1416 | | - {SDIO_DEVICE(MANUFACTURER_CODE, (MANUFACTURER_ID_AR6004_BASE | 0x2))}, |
|---|
| 1417 | | - {SDIO_DEVICE(MANUFACTURER_CODE, (MANUFACTURER_ID_AR6004_BASE | 0x18))}, |
|---|
| 1418 | | - {SDIO_DEVICE(MANUFACTURER_CODE, (MANUFACTURER_ID_AR6004_BASE | 0x19))}, |
|---|
| 1411 | + {SDIO_DEVICE(SDIO_VENDOR_ID_ATHEROS, SDIO_DEVICE_ID_ATHEROS_AR6003_00)}, |
|---|
| 1412 | + {SDIO_DEVICE(SDIO_VENDOR_ID_ATHEROS, SDIO_DEVICE_ID_ATHEROS_AR6003_01)}, |
|---|
| 1413 | + {SDIO_DEVICE(SDIO_VENDOR_ID_ATHEROS, SDIO_DEVICE_ID_ATHEROS_AR6004_00)}, |
|---|
| 1414 | + {SDIO_DEVICE(SDIO_VENDOR_ID_ATHEROS, SDIO_DEVICE_ID_ATHEROS_AR6004_01)}, |
|---|
| 1415 | + {SDIO_DEVICE(SDIO_VENDOR_ID_ATHEROS, SDIO_DEVICE_ID_ATHEROS_AR6004_02)}, |
|---|
| 1416 | + {SDIO_DEVICE(SDIO_VENDOR_ID_ATHEROS, SDIO_DEVICE_ID_ATHEROS_AR6004_18)}, |
|---|
| 1417 | + {SDIO_DEVICE(SDIO_VENDOR_ID_ATHEROS, SDIO_DEVICE_ID_ATHEROS_AR6004_19)}, |
|---|
| 1419 | 1418 | {}, |
|---|
| 1420 | 1419 | }; |
|---|
| 1421 | 1420 | |
|---|