From owner-freebsd-mobile@FreeBSD.ORG Sat Oct 9 00:13:41 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 932BA16A4CE for ; Sat, 9 Oct 2004 00:13:41 +0000 (GMT) Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 143E543D31 for ; Sat, 9 Oct 2004 00:13:41 +0000 (GMT) (envelope-from nate@yogotech.com) Received: from emerger.yogotech.com (emerger.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.12.11/8.12.11) with ESMTP id i990DOWP045861; Fri, 8 Oct 2004 18:13:24 -0600 (MDT) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by emerger.yogotech.com (8.13.1/8.13.1) id i990DNRf059813; Fri, 8 Oct 2004 18:13:23 -0600 (MDT) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16743.11549.958394.767072@emerger.yogotech.com> Date: Fri, 8 Oct 2004 18:13:17 -0600 To: "M. Warner Losh" In-Reply-To: <20041005.212850.35870802.imp@bsdimp.com> References: <415CEEFC.5080800@onr.com> <20041001145616.4F6555D09@ptavv.es.net> <20041005.212850.35870802.imp@bsdimp.com> X-Mailer: VM 7.17 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid cc: freebsd-mobile@freebsd.org cc: shelton@onr.com Subject: Re: pcmcia on freebsd X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nate Williams List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Oct 2004 00:13:41 -0000 > : > with what version of freebsd do pcmcia network cards work? > : > : PCMCIA PCcards (16 bit) worked starting with V4.3, I think. > > The ze driver was in 3.0, which supported NE-2000 pcmcia cards. By > about 3.2 base FreeBSD supported it. By about 3.4 or so had most of > the PAO support merged in. I wasn't going to jump in, but felt it was import for historical accuracy. FreeBSD 2.2.1 had the beginnings of Andrew's work (the original PCMCIA author) merged, and PHK merged in many of the PAO changes into 2.2.4. I merged in lots of things, and actually had two dozen different cards working in 2.2.6, and by 2.2.8 hot-swap 'mostly' worked for the set of existing drivers, partly due to PAO code, and partly due to my work. I've still got a dozen or so 3C589[ABCD] network cards, along with various NE2000 clones and various modems lying around that still work on the old laptops that I use on newer laptops today because they 'just work'. However, no dual-function cards worked at all, as you could only get a single function card to work (it was a crap shoot as to which function actually worked). Luckily, Warner took things over FreeBSD 3, and due to his hard-work and knowledge of the new bus framework (necessary for PCI and such, which PCCARD is related to), he was able to work through much of the hacks/kludges that were made over the years to make things work, such that by FreeBSD 4 he was now able to make multi-cards work, as well as provide a much better framework for removable drivers and modules. The work I did in the FreeBSD 2.2 was really a hack to try and make PCMCIA (ie; ISA) drivers removable. It worked, and sometimes even worked well. Ironically, my ThinkPads running FreeBSD 2.2.8 were able to do perform reliable card swaps, along with hibernation/suspend/resume, which many of the newer laptops *still* can't due due. Most of the problems are due to ACPI being harder to implement than APM, so many of today's BIOS's are extremely buggy as compared to their counter-parts using APM years ago.... Nate