[PATCH] if_dc cleanups..
Thierry Herbelot
thierry at herbelot.com
Thu May 25 01:23:51 PDT 2006
Le Wednesday 24 May 2006 21:56, John Baldwin a écrit :
> I've changed if_dc to use the full 32-bit device ID instead of just the
> lower 16-bit device ID in dc_attach() so that it doesn't have to deal with
> hacks like the FAKE device and to make it easier to add new device IDs that
> have collisions in the future. I've compiled it but have no dc(4) hardware
> to test with, so please test. Patch is available at:
>
> http://www.FreeBSD.org/~jhb/patches/if_dc.patch
my dc is still probed and detected with your patch :
dc0: <82c169 PNIC 10/100BaseTX> port 0x9400-0x94ff mem 0xd8000000-0xd80000ff
irq 19 at device 9.0 on pci0
dc0: Reserved 0x100 bytes for rid 0x10 type 4 at 0x9400
miibus0: <MII bus> on dc0
bmtphy0: <BCM5201 10/100baseTX PHY> on miibus0
bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
dc0: bpf attached
dc0: Ethernet address: 00:02:e3:08:63:af
dc0: [MPSAFE]
the same dc is currently used to update the -current sources over NFS, without
any visible side effects.
Thanks
TfH
More information about the freebsd-current
mailing list