|
Lines 449-455
Link Here
|
| 449 |
* not supposed to be that way. |
449 |
* not supposed to be that way. |
| 450 |
*/ |
450 |
*/ |
| 451 |
if (chip_id == pci_read_config(dev, |
451 |
if (chip_id == pci_read_config(dev, |
| 452 |
PCIR_SUBVEND_0, 4) || chip_id == 0x10001000) { |
452 |
PCIR_SUBVEND_0, 4) || chip_id == 0x10001000 |
|
|
453 |
|| chip_id == 0x10201020 |
| 454 |
|| chip_id == 0x10401040) { |
| 453 |
/* We're in 16-bit mode. */ |
455 |
/* We're in 16-bit mode. */ |
| 454 |
chip_id = pcn_csr_read16(sc, PCN_CSR_CHIPID1); |
456 |
chip_id = pcn_csr_read16(sc, PCN_CSR_CHIPID1); |
| 455 |
chip_id <<= 16; |
457 |
chip_id <<= 16; |