Re: [PATCH] if_dc cleanups..

From: Thierry Herbelot <thierry_at_herbelot.com>
Date: Thu, 25 May 2006 10:23:32 +0200
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
Received on Thu May 25 2006 - 06:23:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:56 UTC