cvs commit: src/sys/dev/dc if_dc.c if_dcreg.h

John Baldwin john at baldwin.cx
Wed Jun 7 17:21:29 UTC 2006


On Wednesday 07 June 2006 08:26, Gleb Smirnoff wrote:
> glebius     2006-06-07 12:26:23 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/dev/dc           if_dc.c if_dcreg.h 
>   Log:
>   Add device IDs for Linksys PCMPC200 Cardbus card.
>   
>   PR:             kern/75582
>   Submitted by:   Gary Palmer

This doesn't work because you didn't handle the card in attach() and it 
probably worked by accident prior to my latest rounds of dc cleanups because 
attach() only checked half the PCI device ID before I fixed it.  The patches 
on hackers@ for this that I planned to fixup to do this add two new device 
IDs not just one. :)

I think you just need to add a 'case DC_DEVID(..., ...):' line to the 
appropriate entry.  The patches on hackers let you know which entry in 
attach() they need to be added to.

-- 
John Baldwin


More information about the cvs-src mailing list