NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Marvell sk/msk driver NetBSD 8.0_RC1



You also need to add the id into the list in the driver, used for matching. 

> Le 7 juin 2018 à 14:38, John Halfpenny <jsh%SDF.ORG@localhost> a écrit :
> 
> Ok I found this email from a few years ago,
> 
>  https://mail-index.netbsd.org/tech-net/2012/11/13/msg003719.html
> 
> which suggests the problem might be a new ID for an old product. I got the device ID and made the following alterations to my kernel sources
> 
> /usr/src/sys/dev/pci/pcidevs :
> 
>  product MARVELL YUKON_8071   0x436b  Yukon 88E8071
> 
> /usr/src/sys/dev/pci/pcidevs.h :
> 
>  #define PCI_PRODUCT_MARVELL_YUKON_8071  0x436b  /* Yukon 88E8071 */
> 
> /usr/src/sys/dev/pci/if_msk.c :
> 
>  { PCI_VENDOR_MARVELL,   PCI_PRODUCT_MARVELL_YUKON_8071 },
> 
> But when I recompile/reboot, dmesg gives:
> 
>  mskc0 at pci1 dev 0 function 0, Yukon (Unknown): ioapic0 pin 16
>  sk port A at mskc0 not configured
> 
> So I guess it isn't picking up my device model, and it probably isn't a simple case of a new ID and old 
> driver. Appreciate the long shot, but wondered if anyone has ideas for other things I might try? This is 
> on 8.0RC1 amd64.
> 
> Bw
> John
> -- 
> jsh%sdf.org@localhost
> SDF Public Access UNIX System - http://sdf.org


Home | Main Index | Thread Index | Old Index