aboutsummaryrefslogtreecommitdiff
path: root/src/biosvar.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-08-31 11:16:33 -0400
committerKevin O'Connor <kevin@koconnor.net>2008-08-31 11:16:33 -0400
commit53236ccc6744df2f5de877d502f8fa4aeefdea7e (patch)
treeb45811d332d239e9f62d78c62daeb5269923d4a0 /src/biosvar.h
parent5fdaa0346cb9d864ffff0e6fd2c2139c4a6b612f (diff)
downloadseabios-hppa-53236ccc6744df2f5de877d502f8fa4aeefdea7e.zip
seabios-hppa-53236ccc6744df2f5de877d502f8fa4aeefdea7e.tar.gz
seabios-hppa-53236ccc6744df2f5de877d502f8fa4aeefdea7e.tar.bz2
Use PCI bus scan to find all ATA controllers. Several IDE fixes.
Find all ATA controllers via a pci bus - don't poke random IO ports. Force IDE drives to 512 byte sector size; word 5 in identify command isn't defined on recent drives. Add debugging info for extended_access and int 1348 calls. int 1348 enhancements - general cleanup, report drives as PCI, correct iface_path/device_path settings, checksums should be a 2's complement, call disk_ret() on all return paths, always use dpte revision 0x11, don't set size above 30 bytes.
Diffstat (limited to 'src/biosvar.h')
-rw-r--r--src/biosvar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/biosvar.h b/src/biosvar.h
index 3d03cec..7089172 100644
--- a/src/biosvar.h
+++ b/src/biosvar.h
@@ -142,9 +142,9 @@ struct dpte_s {
};
struct ata_channel_s {
- u8 iface; // ISA or PCI
u16 iobase1; // IO Base 1
u16 iobase2; // IO Base 2
+ u16 pci_bdf;
u8 irq; // IRQ
};