From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 12:39:49 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 467C416A4CE for ; Fri, 4 Jun 2004 12:39:49 -0700 (PDT) Received: from guinness.cs.stevens-tech.edu (guinness.cs.stevens-tech.edu [155.246.89.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD3DF43D3F for ; Fri, 4 Jun 2004 12:39:48 -0700 (PDT) (envelope-from ymalik@cs.stevens-tech.edu) Received: from pink-elephant.cs.stevens-tech.edu (pink-elephant.cs.stevens-tech.edu [155.246.81.117]) by guinness.cs.stevens-tech.edu (Postfix) with ESMTP id AC4A2141669 for ; Fri, 4 Jun 2004 15:39:36 -0400 (EDT) Received: by pink-elephant.cs.stevens-tech.edu (Postfix, from userid 4405) id EE2C48AEAD; Fri, 4 Jun 2004 15:38:58 -0400 (EDT) Received: from localhost (localhost [127.0.0.1])C0F8E8AD17 for ; Fri, 4 Jun 2004 15:38:58 -0400 (EDT) Date: Fri, 4 Jun 2004 15:38:58 -0400 (EDT) From: Yasir Malik To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Getting Compaq WL110 card to work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2004 19:39:49 -0000 Hello, I have NetBSD 2.0 BETA installed on my laptop. Unfortunately, NetBSD does not support my Compaq WL110 wireless card. I looked at the FreeBSD man pages and saw that FreeBSD does support my wireless card. I thought I would be able to take the card's id and other pertinent information from the FreeBSD source code and put it in an appropriate file in the NetBSD source and recompile my kernel. I poked around the FreeBSD source code and found the file sys/dev/wi/if_wi_pccard.c which had an array called wi_pccard_products. This was similar to a structure found in the NetBSD source file dev/pcmcia/if_wi_pcmcia.c. I figured that I would be able to get my card id from there. However, the card is not listed in the array; however, all the other cards seem to be listed there. The Compaq NC5004 is listed, but that uses a different chip. I'm guessing that wi(4) falsely states that it supports my wireless card. I don't know much about driver programming, but am I missing something here? Even if the if_wi_pccard.c did have my card listed, would I be able to use it port it over to NetBSD (assuming I got all of the #define statements, too)? NetBSD supports the Hermes chip. BTW, my wireless card does work: it works fine on my Windows 2000 partition. Thanks, Yasir