diff options
author | Michael Brown | 2005-04-16 11:30:48 +0200 |
---|---|---|
committer | Michael Brown | 2005-04-16 11:30:48 +0200 |
commit | 9f0237640951470ded761abd092b18062f787954 (patch) | |
tree | 39808235d1e9b6869db86ef27882eb864b471725 /src/drivers/net/depca.c | |
parent | Improve debug message legibility. (diff) | |
download | ipxe-9f0237640951470ded761abd092b18062f787954.tar.gz ipxe-9f0237640951470ded761abd092b18062f787954.tar.xz ipxe-9f0237640951470ded761abd092b18062f787954.zip |
Make isa_probe_addr a simple integer rather than a struct, to facilitate
specification of ISA_PROBE_ADDRS.
Diffstat (limited to 'src/drivers/net/depca.c')
-rw-r--r-- | src/drivers/net/depca.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/net/depca.c b/src/drivers/net/depca.c index 45cc2d7c..78339b08 100644 --- a/src/drivers/net/depca.c +++ b/src/drivers/net/depca.c @@ -695,7 +695,7 @@ static void depca_irq(struct nic *nic __unused, irq_action_t action __unused) static u8 nicsr; -static int depca_probe1 ( uint16_t ioaddr ) { +static int depca_probe1 ( isa_probe_addr_t ioaddr ) { u8 data; /* This is only correct for little endian machines, but then Etherboot doesn't work on anything but a PC */ @@ -787,8 +787,8 @@ static int depca_probe ( struct dev *dev, struct isa_device *isa ) { return 1; } -static struct isa_probe_addr depca_probe_addrs[] = { - { 0x300 }, { 0x200 }, +static isa_probe_addr_t depca_probe_addrs[] = { + 0x300, 0x200, }; static struct isa_driver depca_driver = |