Date: Wed, 10 Mar 2004 00:09:42 +0300 From: Anton Nikiforov <anton@nikiforov.ru> To: freebsd-current@freebsd.org Subject: Re: Can't assign irq for integrated wireless NIC Message-ID: <404E3296.9000504@nikiforov.ru> In-Reply-To: <200403091325.34299.jhb@FreeBSD.org> References: <200402291903.20499.muntyan@tamu.edu> <200403081546.23492.jhb@FreeBSD.org> <200403081743.57194.muntyan@tamu.edu> <200403091325.34299.jhb@FreeBSD.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
Hello All.
Looks like i have the same trouble with Compaq Presario 2585.
Does somebody knows about how to setup it's internal WiFi adapter?
Thanks in advance,
Regards,
Anton
John Baldwin wrote:
>On Monday 08 March 2004 06:43 pm, Yevgen Muntyan wrote:
>
>
>>On Monday 08 March 2004 14:46, John Baldwin wrote:
>>
>>
>>>Please try this patch and let me know if it works:
>>>
>>>
>>Hello,
>>It really works!!! Though there are some problems:
>>
>>1) if you do not load ndis and if_ndis modules on startup, then it's
>>impossible to use them after that: I do
>>
>>kldload ndis
>>kldload if_ndis
>>
>>and it says the following (see attached "dmesg.bootwithoutmodules"):
>>
>>ndis0: <HP WLAN 54g W450 Network Adapter> mem 0xd0002000-0xd0003fff at
>>device 9. 0 on pci0
>>pcib0: matched entry for 0.9.INTA (source \\_SB_.PCI0.ISA_.LNK3)
>>pcib0: slot 9 INTA is routed to irq 10
>>ndis0: NDIS API version: 5.0
>>ndis0: NDIS ERROR: c000138d (unknown error)
>>ndis0: NDIS NUMERRORS: 1
>>ndis0: argptr: 0xa
>>ndis0: init handler failed
>>device_probe_and_attach: ndis0 attach returned 6
>>
>>2) If you load ndis and if_ndis on startup (I did it from boot loader),
>>then device ndis0 is not present (at least in ifconfig output) after system
>>starts, but after kldunload-kldload it appears and it works!! See attached
>>"dmesg.bootwithmodules".
>>
>>
>
>Ok, Bill Paul found a bug in my patch. Try this one instead (just adds one
>more line):
>
>Index: if_ndis_pci.c
>===================================================================
>RCS file: /usr/cvs/src/sys/dev/if_ndis/if_ndis_pci.c,v
>retrieving revision 1.1
>diff -u -r1.1 if_ndis_pci.c
>--- if_ndis_pci.c 7 Mar 2004 02:49:06 -0000 1.1
>+++ if_ndis_pci.c 9 Mar 2004 18:24:00 -0000
>@@ -263,6 +263,21 @@
> }
>
> /*
>+ * Allocate an IRQ if we don't already have one.
>+ */
>+ if (sc->ndis_irq == NULL) {
>+ rid = 0;
>+ sc->ndis_irq = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, 0, ~0, 1,
>+ RF_SHAREABLE | RF_ACTIVE);
>+ if (sc->ndis_irq == NULL) {
>+ device_printf(dev, "couldn't route interrupt\n");
>+ error = ENXIO;
>+ goto fail;
>+ }
>+ sc->ndis_rescnt++;
>+ }
>+
>+ /*
> * Allocate the parent bus DMA tag appropriate for PCI.
> */
> #define NDIS_NSEG_NEW 32
>
>
>
[-- Attachment #2 --]
0 *H
010 + 0 *H
00:0
*H
0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
040305211228Z
050305211228Z0D10UThawte Freemail Member1!0 *H
anton@nikiforov.ru0"0
*H
0
>qNv`"9&:Bf*Ku;,h&Pt5-BCIZ(\X"{)Ûf<WWPUg|1X{-B֟3 j@rM@чj I'r֨ i&ƨMٕY~O9{gRᤳfJ
b+e?sxJd/kaVErzG)Kao_B\E![u]ż_{ސץ /0-0U0anton@nikiforov.ru0U0 0
*H
p1zaGK,U-r%#&CTJ`Q'Xx:GQ.LD/E4;T.9iӁ>dgXq=uXn9b4[Dy<( -]>T0#-00:0
*H
0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
040305211228Z
050305211228Z0D10UThawte Freemail Member1!0 *H
anton@nikiforov.ru0"0
*H
0
>qNv`"9&:Bf*Ku;,h&Pt5-BCIZ(\X"{)Ûf<WWPUg|1X{-B֟3 j@rM@чj I'r֨ i&ƨMٕY~O9{gRᤳfJ
b+e?sxJd/kaVErzG)Kao_B\E![u]ż_{ސץ /0-0U0anton@nikiforov.ru0U0 0
*H
p1zaGK,U-r%#&CTJ`Q'Xx:GQ.LD/E4;T.9iӁ>dgXq=uXn9b4[Dy<( -]>T0#-0?0
0
*H
010 UZA10UWestern Cape10U Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0) *H
personal-freemail@thawte.com0
030717000000Z
130716235959Z0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00
*H
0 Ħ<UsUNʙZhup[v:aQP
0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr` 00U0 0CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380
*H
HP.
fgCL!6-6/P p<ab:~ t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO1;070i0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0 + 0 *H
1 *H
0 *H
1
040309210942Z0# *H
1`DTτee0R *H
1E0C0
*H
0*H
0
*H
@0+0
*H
(0x +71k0i0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0z*H
1ki0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
*H
{ٽ>oy%4È
8x4}rvjIЍΌ<00M|ͫE1T*'͜٪_(͊nzr#)aW[(r I_$pxNF2G(fۛdkLFbč '϶0U8T4؋!72J#A&ٳ-S˔+@0
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?404E3296.9000504>
