diff options
| author | Warner Losh <imp@FreeBSD.org> | 2005-10-22 05:14:18 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2005-10-22 05:14:18 +0000 |
| commit | 201aec83216b78c389742fdfa04977784100dc23 (patch) | |
| tree | 86b8edb91171672879e5feb0ead7791a997ee5a1 | |
| parent | 36dc24e61e40fa5b2f9bfa044c96ada3b99c4d95 (diff) | |
Notes
| -rw-r--r-- | sys/dev/ed/if_ed_rtl80x9.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ed/if_ed_rtl80x9.c b/sys/dev/ed/if_ed_rtl80x9.c index cec1b61890cd..c6a7d76d7a87 100644 --- a/sys/dev/ed/if_ed_rtl80x9.c +++ b/sys/dev/ed/if_ed_rtl80x9.c @@ -80,6 +80,9 @@ ed_probe_RTL80x9(device_t dev, int port_rid, int flags) if ((error = ed_alloc_port(dev, port_rid, ED_NOVELL_IO_PORTS))) return (error); + + sc->asic_offset = ED_NOVELL_ASIC_OFFSET; + sc->nic_offset = ED_NOVELL_NIC_OFFSET; if (ed_nic_inb(sc, ED_P0_CR) & (ED_CR_PS0 | ED_CR_PS1)) ed_nic_outb(sc, ED_P0_CR, ED_CR_RD2 | ED_CR_STP); @@ -100,9 +103,6 @@ ed_probe_RTL80x9(device_t dev, int port_rid, int flags) return (ENXIO); } - sc->asic_offset = ED_NOVELL_ASIC_OFFSET; - sc->nic_offset = ED_NOVELL_NIC_OFFSET; - if ((error = ed_probe_Novell_generic(dev, flags))) return (error); |
