On Thu, Jun 02, 2011 at 10:49:43PM +0100, Owain Ainsworth wrote:
> Been running with this for a couple of weeks, seems to work fine.
>
> ok?
>
> diff --git dev/pci/if_iwn.c dev/pci/if_iwn.c
> index 16765f4..a54556b 100644
> --- dev/pci/if_iwn.c
> +++ dev/pci/if_iwn.c
> @@ -338,7 +338,8 @@ iwn_attach(struct device *parent, struct device *self,
> void *aux)
> }
>
> /* Install interrupt handler. */
> - if (pci_intr_map(pa, &ih) != 0) {
> + if (pci_intr_map_msi(pa, &ih) != 0 &&
> + pci_intr_map(pa, &ih) != 0) {
> printf(": can't map interrupt\n");
> return;
> }
>
> --
> The idea is to die young as late as possible.
> -- Ashley Montague
>
work fine
iwn0 at pci3 dev 0 function 0 "Intel Centrino Ultimate-N 6300" rev 0x35: msi,
MIMO 3T3R, MoW, address 00:24:d7:16:a9:80
--
Alexandr Shadchin