From owner-freebsd-hardware@FreeBSD.ORG Thu Apr 3 10:28:48 2003 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C0F137B401 for ; Thu, 3 Apr 2003 10:28:48 -0800 (PST) Received: from mail.fbfguns.com (adsl-64-123-156-89.dsl.okcyok.swbell.net [64.123.156.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8AC343F75 for ; Thu, 3 Apr 2003 10:28:46 -0800 (PST) (envelope-from jb@fbfguns.com) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Thu, 3 Apr 2003 12:28:45 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Message-ID: <3BD4A5842C8AE2428158AB1EE6DCC3774D5D@mail.fbfguns.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Linksys WMP11 card Thread-Index: AcL5Hr2g15iYQQg2RluNKOndXAiL3gA7+Upg From: "Jason Burgess" To: cc: Freebsd-hardware@freebsd.org Subject: RE: Linksys WMP11 card X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2003 18:28:49 -0000 John, I don't have any advice as to the problem you are having, but it should've worked without any modification as of (I believe) 4.6. I've got one of those cards that worked as soon as I added the wi device to the kernel. (Plus a lot of tweaking in software settings to make it work they way I wanted it to.) Jason Burgess -----Original Message----- From: john@critchley.biz [mailto:john@critchley.biz]=20 Sent: Wednesday, April 02, 2003 7:50 AM To: freebsd-hardware@freebsd.org Subject: Linksys WMP11 card Hi, I'd like to get this going under FreeBSD. It seems to have the same Prism hardware as the PCMCIA cards made by Linksys, so I thought I'd try getting it working. I added=20 {0x14e4, 0x4301, WI_BUS_PCI_NATIVE, "Linksys WMP11"}, to the pci_ids in the=20 /usr/src/sys/dev/wi/if_wi_pci.c file. It didn't work: wi0: wi_pci_attach() failed to enable pci! I added debugging 139 command =3D pci_read_config(dev, PCIR_COMMAND, 4); 140 wanted =3D PCIM_CMD_PORTEN|PCIM_CMD_MEMEN; 141 command |=3D wanted; 142 pci_write_config(dev, PCIR_COMMAND, command, 4); 143 command =3D pci_read_config(dev, PCIR_COMMAND, 4); 144 if ((command & wanted) !=3D wanted) { 145 device_printf(dev, "wi_pci_attach() failed to enable pci!\n"); 146 /* BEGIN -jc */ 147 printf("Command state=3D%x Wanted to = add=3D%x\n", command, wanted); 148 if(!(command&PCIM_CMD_PORTEN)) 149 printf("PCIM_CMD_PORTEN failed to happen\n"); 150 if(!(command&PCIM_CMD_MEMEN)) 151 printf("PCIM_CMD_MEMEN failed to happen\n"); 152 /* END -jc */ 153 return (ENXIO); 154 } 155=20 and found that "PCIM_CMD_PORTEN failed to happen" Am I on the right track? Does this card work on any other BSD? -jc _______________________________________________ freebsd-hardware@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hardware To unsubscribe, send any mail to "freebsd-hardware-unsubscribe@freebsd.org"