Forgot one more change:
Actually make the Adaptec AHA-154xC/CF/CP and possibly the 1640 one (TBD in real hardware) signature aware.
This commit is contained in:
@@ -1025,6 +1025,7 @@ aha_init(const device_t *info)
|
||||
dev->rom_shramsz = 128; /* size of shadow RAM */
|
||||
dev->rom_ioaddr = 0x3F7E; /* [2:0] idx into addr table */
|
||||
dev->rom_fwhigh = 0x0022; /* firmware version (hi/lo) */
|
||||
dev->flags |= X54X_HAS_SIGNATURE;
|
||||
dev->ven_get_host_id = aha_get_host_id; /* function to return host ID from EEPROM */
|
||||
dev->ven_get_irq = aha_get_irq; /* function to return IRQ from EEPROM */
|
||||
dev->ven_get_dma = aha_get_dma; /* function to return DMA channel from EEPROM */
|
||||
@@ -1041,6 +1042,7 @@ aha_init(const device_t *info)
|
||||
dev->rom_ioaddr = 0x3F7E; /* [2:0] idx into addr table */
|
||||
dev->rom_fwhigh = 0x0022; /* firmware version (hi/lo) */
|
||||
dev->flags |= X54X_CDROM_BOOT;
|
||||
dev->flags |= X54X_HAS_SIGNATURE;
|
||||
dev->ven_get_host_id = aha_get_host_id; /* function to return host ID from EEPROM */
|
||||
dev->ven_get_irq = aha_get_irq; /* function to return IRQ from EEPROM */
|
||||
dev->ven_get_dma = aha_get_dma; /* function to return DMA channel from EEPROM */
|
||||
@@ -1061,6 +1063,7 @@ aha_init(const device_t *info)
|
||||
dev->rom_fwhigh = 0x0055; /* firmware version (hi/lo) */
|
||||
dev->flags |= X54X_CDROM_BOOT;
|
||||
dev->flags |= X54X_ISAPNP;
|
||||
dev->flags |= X54X_HAS_SIGNATURE;
|
||||
dev->ven_get_host_id = aha_get_host_id; /* function to return host ID from EEPROM */
|
||||
dev->ven_get_irq = aha_get_irq; /* function to return IRQ from EEPROM */
|
||||
dev->ven_get_dma = aha_get_dma; /* function to return DMA channel from EEPROM */
|
||||
@@ -1085,6 +1088,7 @@ aha_init(const device_t *info)
|
||||
dev->fw_rev = "BB01";
|
||||
|
||||
dev->flags |= X54X_LBA_BIOS;
|
||||
dev->flags |= X54X_HAS_SIGNATURE; /*To be confirmed*/
|
||||
|
||||
/* Enable MCA. */
|
||||
dev->pos_regs[0] = 0x1F; /* MCA board ID */
|
||||
|
Reference in New Issue
Block a user