unless there is some special trick for 82571 that isn't necessary for newer 
chips,

if (sc->hw.mac_type < em_82572)

...

Jussi Peltola [pe...@pelzi.net] wrote:
> You can ignore the clueless parts in my previous message :)
> 
> I can set up remote access to one of these machines if needed.
> 
> This made the ems work again:
> 
> --- if_em.c.orig        Wed Nov  9 21:37:39 2011
> +++ if_em.c     Wed Nov  9 21:39:01 2011
> @@ -331,6 +331,2 @@
>  
> -       /* Only use MSI on the newer PCIe parts */
> -       if (sc->hw.mac_type < em_82571)
> -               sc->osdep.em_pa.pa_flags &= ~PCI_FLAGS_MSI_ENABLED;
> -
>         /* Parameters (to be read from user) */
> @@ -1621,3 +1617,3 @@
>  
> -       if (pci_intr_map_msi(pa, &ih) && pci_intr_map(pa, &ih)) {
> +       if (pci_intr_map(pa, &ih)) {
>                 printf(": couldn't map interrupt\n");

-- 
There are only three sports: bullfighting, motor racing, and mountaineering; 
all the rest are merely games. - E. Hemingway

Reply via email to