diff options
| author | Warner Losh <imp@FreeBSD.org> | 2005-09-07 03:20:33 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2005-09-07 03:20:33 +0000 |
| commit | 3ba88ec4647ddd8ae50851cd7fed45a680aef936 (patch) | |
| tree | 5b0921bfa84ddc67a2470b83fdd8625a798baea0 /sys/dev/ed | |
| parent | 57b5187b16cde6f8d481a49866110b282197023a (diff) | |
Notes
Diffstat (limited to 'sys/dev/ed')
| -rw-r--r-- | sys/dev/ed/if_ed_novell.c | 7 | ||||
| -rw-r--r-- | sys/dev/ed/if_edvar.h | 1 |
2 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/ed/if_ed_novell.c b/sys/dev/ed/if_ed_novell.c index 2d763a2b4281..032dc572d748 100644 --- a/sys/dev/ed/if_ed_novell.c +++ b/sys/dev/ed/if_ed_novell.c @@ -64,7 +64,7 @@ static int ed_probe_gwether(device_t); /* * Probe and vendor-specific initialization routine for NE1000/2000 boards */ -static int +int ed_probe_Novell_generic(device_t dev, int flags) { struct ed_softc *sc = device_get_softc(dev); @@ -84,10 +84,7 @@ ed_probe_Novell_generic(device_t dev, int flags) /* * I don't know if this is necessary; probably cruft leftover from * Clarkson packet driver code. Doesn't do a thing on the boards I've - * tested. -DG [note that an outb(0x84, 0) seems to work here, and is - * non-invasive...but some boards don't seem to reset and I don't have - * complete documentation on what the 'right' thing to do is...so we - * do the invasive thing for now. Yuck.] + * tested. -DG */ ed_asic_outb(sc, ED_NOVELL_RESET, tmp); DELAY(5000); diff --git a/sys/dev/ed/if_edvar.h b/sys/dev/ed/if_edvar.h index f125d38376ae..571e7c21d1d9 100644 --- a/sys/dev/ed/if_edvar.h +++ b/sys/dev/ed/if_edvar.h @@ -196,6 +196,7 @@ int ed_probe_3Com(device_t, int, int); #ifdef ED_SIC int ed_probe_SIC(device_t, int, int); #endif +int ed_probe_Novell_generic(device_t, int); int ed_probe_Novell(device_t, int, int); void ed_Novell_read_mac(struct ed_softc *); #ifdef ED_HPP |
