on 14/05/2010 09:42 Chris Buechler said the following:> one of our users has reported a regression in dc(4) on RELENG_8, the
> cards work fine on 7.2 and previous versions, but no longer function at
> all with RELENG_8 as of about a week ago.
> http://forum.pfsense.org/index.php/topic,24964.msg129488.html#msg129488
Perhaps this might be a cardbus issue (or even a more general issue) rather than
a
dc(4) issue.
But first please try this patch reversed:
--- a/sys/dev/dc/if_dc.c
+++ b/sys/dev/dc/if_dc.c
@@ -331,7 +331,6 @@ static driver_t dc_driver = {
static devclass_t dc_devclass;
-DRIVER_MODULE(dc, cardbus, dc_driver, dc_devclass, 0, 0);
DRIVER_MODULE(dc, pci, dc_driver, dc_devclass, 0, 0);
DRIVER_MODULE(miibus, dc, miibus_driver, miibus_devclass, 0, 0);
> dmesg from it working, from 7.2:
> cbb0: <ToPIC100 PCI-CardBus Bridge> at device 11.0 on pci0
> cardbus0: <CardBus bus> on cbb0
> pccard0: <16-bit PCCard bus> on cbb0
> cbb0: [ITHREAD]
> cbb1: <ToPIC100 PCI-CardBus Bridge> at device 11.1 on pci0
> cardbus1: <CardBus bus> on cbb1
> pccard1: <16-bit PCCard bus> on cbb1
> cbb1: [ITHREAD]
> dc0: <Xircom X3201 10/100BaseTX> port 0x1080-0x10ff mem
> 0x88000000-0x880007ff,0x88001000-0x880017ff irq 11 at device 0.0 on
> cardbus0
> miibus1: <MII bus> on dc0
> tdkphy0: <TDK 78Q2120 media interface> PHY 0 on miibus1
> tdkphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> dc0: Ethernet address: 00:xx:xx:xx:xx:56
> dc0: [ITHREAD]
> dc1: <Xircom X3201 10/100BaseTX> port 0x1100-0x117f mem
> 0x88002000-0x880027ff,0x88003000-0x880037ff irq 11 at device 0.0 on
> cardbus1
> miibus2: <MII bus> on dc1
> tdkphy1: <TDK 78Q2120 media interface> PHY 0 on miibus2
> tdkphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> dc1: Ethernet address: 00:xx:xx:xx:xx:66
> dc1: [ITHREAD]
>
> Not working, RELENG_8:
> cbb0: <ToPIC100 PCI-CardBus Bridge> at device 11.0 on pci0
> cardbus0: <CardBus bus> on cbb0
> pccard0: <16-bit PCCard bus> on cbb0
> cbb0: [FILTER]
> cbb1: <ToPIC100 PCI-CardBus Bridge> at device 11.1 on pci0
> cardbus1: <CardBus bus> on cbb1
> pccard1: <16-bit PCCard bus> on cbb1
> cbb1: [FILTER]
> cardbus0: Unable to allocate resource to read CIS.
> cardbus0: Unable to allocate resources for CIS
> cardbus0: Unable to allocate resource to read CIS.
> cardbus0: Unable to allocate resources for CIS
> dc0: <Xircom X3201 10/100BaseTX> port 0x1080-0x10ff mem
> 0x88000000-0x880007ff,0x88001000-0x880017ff irq 11 at device 0.0 on
> cardbus0
> dc0: No station address in CIS!
> device_attach: dc0 attach returned 6
> cardbus1: Unable to allocate resource to read CIS.
> cardbus1: Unable to allocate resources for CIS
> cardbus1: Unable to allocate resource to read CIS.
> cardbus1: Unable to allocate resources for CIS
> dc1: <Xircom X3201 10/100BaseTX> port 0x1080-0x10ff mem
> 0x88002000-0x880027ff,0x88003000-0x880037ff irq 11 at device 0.0 on
> cardbus1
> dc1: No station address in CIS!
> device_attach: dc1 attach returned 6
>
>
> We can apply patches to our builds for this person and others to test
> and confirm the fix, before it's committed into FreeBSD.
>
> Chris
>
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to
"freebsd-net-unsubscribe@freebsd.org"
>
--
Andriy Gapon