From owner-freebsd-mobile Fri Dec 12 14:38:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA01535 for mobile-outgoing; Fri, 12 Dec 1997 14:38:59 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA01528 for ; Fri, 12 Dec 1997 14:38:56 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id PAA28635; Fri, 12 Dec 1997 15:38:44 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id PAA27990; Fri, 12 Dec 1997 15:38:42 -0700 Date: Fri, 12 Dec 1997 15:38:42 -0700 Message-Id: <199712122238.PAA27990@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Doug Ambrisko Cc: freebsd-mobile@freebsd.org Subject: Re: Cardbus controller status request / notebook update In-Reply-To: <199712121955.LAA22953@crab.whistle.com> References: <199712121837.KAA05516@tnt.isi.edu> <199712121955.LAA22953@crab.whistle.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I have a CL6832 eval board and needed to add some code (lifted from PAO) > to initialize the the port address. Ted, if you can review this to make sure your computer still works with this, I'll commit it to the tree. Let me know please! > However, I'm still having trouble > with the code in that interrupts don't seem to be working in that I > keep getting device timeouts for the ethernet (this happens with PAO and > current). Hmmm... You're saying the interrupts are correctly registered with the devices (you get correct probe information), but the interrupts are getting lost? Nate > Index: pcic_p.c > =================================================================== > RCS file: /cvs/freebsd/src/sys/pci/pcic_p.c,v > retrieving revision 1.3 > diff -c -r1.3 pcic_p.c > *** pcic_p.c 1997/12/02 22:27:58 1.3 > --- pcic_p.c 1997/12/12 19:47:15 > *************** > *** 140,145 **** > --- 140,146 ---- > * routine won't map regiaters above 0x28, and the register we > * need to map is 0x44. > */ > + pci_conf_write(tag, CLPD6832_LEGACY_16BIT_IOADDR, (0x3e0 + 2) | PCI_MAP_IO); > io_port = pci_conf_read(tag, CLPD6832_LEGACY_16BIT_IOADDR) > & ~PCI_MAP_IO; > > >