From owner-freebsd-mobile Fri Oct 27 18: 8:47 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 3C76C37B479; Fri, 27 Oct 2000 18:08:45 -0700 (PDT) Received: from laptop.baldwin.cx (ether.osd.bsdi.com [204.216.28.196]) by pike.osd.bsdi.com (8.11.0/8.9.3) with ESMTP id e9S18Cf98423; Fri, 27 Oct 2000 18:08:12 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Fri, 27 Oct 2000 18:09:02 -0700 (PDT) From: John Baldwin To: jon@FreeBSD.org, imp@FreeBSD.org, mobile@FreeBSD.org Subject: Cardbus working in i5000e with a gross hack... Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hey gang, As suspected, the cardbus problems that I have been having are due to the cardbus code allocating resources for cardbus cards that collide with PCI devices that didn't have a driver match for them and thus allocate their resources. As a proof-of-concept hack, I worked up a quick patch that allocated resources for non-match PCI devices. Of course, this breaks the ability to kldload a driver for a PCI device after boot, so it is by no means commit-worthy code. It also explicitly ignores interrupt resources as my silly laptop won't let me disable assigning an IRQ to the VGA device, and the cardbus bridge uses that same IRQ, so I had to not allocate the IRQ to the VGA device to allow the cardbus bridge to attach. However, with this patch I can now use a 3c575 10/100 cardbus card w/o any problems. I still can't use pccard cards, but neither can anyone else AFAIK. :-P The hack I used is at http://www.FreeBSD.org/~jhb/patches/cardbus.hack.patch for the curious. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message