From owner-freebsd-mobile Sun Jan 20 3:32:54 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 7DDBE37B417 for ; Sun, 20 Jan 2002 03:32:51 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g0KBWol43950; Sun, 20 Jan 2002 04:32:50 -0700 (MST) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g0KBWmx38354; Sun, 20 Jan 2002 04:32:48 -0700 (MST) (envelope-from imp@village.org) Date: Sun, 20 Jan 2002 04:32:35 -0700 (MST) Message-Id: <20020120.043235.110481909.imp@village.org> To: eric@routergeeks.net Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: wlp (dec roamabout) support? From: "M. Warner Losh" In-Reply-To: <20020119221606.A76224@aneroid.routergeeks.net> References: <20020119221606.A76224@aneroid.routergeeks.net> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In message: <20020119221606.A76224@aneroid.routergeeks.net> Eric Kozowski writes: : did support for the wlp (dec roamabout 915mhz) pcmcia card ever get put : back into freebsd 4? it doesn't appear like it, but i just want to get : confirmation either way. No. I did a preliminary patch on one of my notebooks, but have lost the code I did I think. I have an almost latest version of wlp that I archived on my desktop machine a little before the disk crash that took out a slightly more advanced version. I've gone ahead and put my WIP on freefall http://people.freebsd.org/~imp/wlp.tar.gz which will need someone to come along and fix. Also, there was a need to have pccardd do some stuff too. I haven't made those changes yet. It is on my long list, but if someone wants to take it as a project for themselves, go for it. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sun Jan 20 4:50:23 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 8115737B416 for ; Sun, 20 Jan 2002 04:50:20 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g0KCoFl44358 for ; Sun, 20 Jan 2002 05:50:16 -0700 (MST) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g0KCoEx38735 for ; Sun, 20 Jan 2002 05:50:14 -0700 (MST) (envelope-from imp@village.org) Date: Sun, 20 Jan 2002 05:49:57 -0700 (MST) Message-Id: <20020120.054957.78907111.imp@village.org> To: mobile@freebsd.org Subject: NEWCARD todo list From: "M. Warner Losh" X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Someone suggested that I post this here. Here's my newcard todo list at the moment. I'm currently working on #2 with an eye towards #4 and #5. Justin's subclassing stuff might allow me to further refine things (but I need the code working for both before I can factor it into one of his baseclass drivers). Warner 1) The same ISA/PCI interrupt routing I do in OLDCARD 2) Separate out the PCIC code into a common file. 3) Merge all supported devices from OLDCARD 4) Create ISA and PCI attachments for PCIC only devices that aren't YENTA. 5) (4) is likely done in dev/pcic, since what's there is almost right. 6) 3.3V support for ISA devices 7) Look into some interrupt routing issues wrt PCI bridges and the conflict between the standard swizzle and the $PIR tables. 8) Use a function table rather than a bunch of ifs for 16-bit vs 32-bit 9) merge cardbus/pccard cis code 10) get rid of the need for a special rescan the bus on driver loaded hack. 11) Merge cardbus and pci busses 12) better interrupt routing 13) cleanup pci code to do the resource allocations rather than having that in the pccbb bridge. 14) fix the pci code to deal with ISA address ranges for I/O and memory that some (all?) bridges pass. 15) Deal with devices that route bogus interrupts to the cardbus bridge. (PCI BIOS working, ACPI not). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sun Jan 20 20:39:54 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from mta01.chello.no (mta01.chello.no [212.186.255.12]) by hub.freebsd.org (Postfix) with ESMTP id D6C3F37B419 for ; Sun, 20 Jan 2002 20:39:51 -0800 (PST) Received: from tsd ([62.179.169.95]) by mta01.chello.no (InterMail vK.4.03.00.00 201-232-121 license e49469e1064252e0c4d3b333458c6cb7) with SMTP id <20020121043950.BXKT374.mta01@tsd> for ; Mon, 21 Jan 2002 05:39:50 +0100 Message-ID: <006001c1a235$45d778c0$0605800a@chello.no> From: "Tom Skoglund" To: Subject: NEWCARD and Xircom (RBEM56G-100) Date: Mon, 21 Jan 2002 05:37:02 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I have been eager to get my Xircom pcmcia nic to work under FreeBSD, and have been reading up on the mailing list an so on. My system is a Compaq Armada E500 running 20020119-CURRENT. This weekend I gave it a try, with not so good results I might add. I made a new kernel (I have tried many this weekend) built on NEWCARD. I have been fooling around with all the different config files and kernel parameters I can imagine. Basically I'm trying to get the dc driver working. I have attached some logs (dmesg, kldstat, sysctl, pciconf) for you to look at. When the driver module fails it also screws up my screen by dividing it in 3 and adding som random "graphics", so I have to reboot to see anything again. This behaviour is the same if I boot with the card or try to insert it runtime. What I see in the logs makes me belive it doesn't read the registers right. So before I start hacking the cardbus/if_dc files can anyone see if there is something else I might try? -Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sun Jan 20 20:47:50 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from mta01.chello.no (mta01.chello.no [212.186.255.12]) by hub.freebsd.org (Postfix) with ESMTP id 34F3237B43B for ; Sun, 20 Jan 2002 20:46:54 -0800 (PST) Received: from tsd ([62.179.169.95]) by mta01.chello.no (InterMail vK.4.03.00.00 201-232-121 license e49469e1064252e0c4d3b333458c6cb7) with SMTP id <20020121044649.BXQX374.mta01@tsd> for ; Mon, 21 Jan 2002 05:46:49 +0100 Message-ID: <007c01c1a236$3fecc5e0$0605800a@chello.no> From: "Tom Skoglund" To: References: <006001c1a235$45d778c0$0605800a@chello.no> Subject: Re: NEWCARD and Xircom (RBEM56G-100) Date: Mon, 21 Jan 2002 05:44:02 +0100 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0079_01C1A23E.A17ED340" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------=_NextPart_000_0079_01C1A23E.A17ED340 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hmmm... I actually forgot to attatch the logs...:) -Tom ------=_NextPart_000_0079_01C1A23E.A17ED340 Content-Type: text/plain; name="dmesg.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="dmesg.txt" Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.0-20020119-CURRENT #0: Sun Jan 20 18:56:21 CET 2002 root@:/usr/obj/usr/src/sys/IDEFIX Preloaded elf kernel "/boot/kernel/kernel" at 0xc0546000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc05460a8. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc05460f8. Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (399.06-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x66d Stepping =3D 13 = Features=3D0x183f9ff real memory =3D 201261056 (196544K bytes) avail memory =3D 189976576 (185524K bytes) Pentium Pro MTRR support enabled Using $PIR table, 268435454 entries at 0xc00f0970 apm0: on motherboard apm0: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface acpi0: Other PM system enabled. pcib0: at pcibus 0 on = motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pccbb0: mem 0x41100000-0x41100fff irq 11 at = device 4.0 on pci0 cardbus0: on pccbb0 pccard0: <16-bit PCCard bus> on pccbb0 pccbb1: mem 0x41180000-0x41180fff irq 11 at = device 4.1 on pci0 cardbus1: on pccbb1 pccard1: <16-bit PCCard bus> on pccbb1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x2420-0x242f at device 7.1 = on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x2400-0x241f irq = 11 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: at device 7.3 (no driver attached) pci0: at device 8.0 (no driver attached) pci0: at device 9.0 (no driver attached) ata: ata0 already exists; skipping it ata: ata1 already exists; skipping it sc: sc0 already exists; skipping it vga: vga0 already exists; skipping it orm0: