From owner-freebsd-mobile Fri Dec 12 13:49:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA28010 for mobile-outgoing; Fri, 12 Dec 1997 13:49:20 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA28004 for ; Fri, 12 Dec 1997 13:49:13 -0800 (PST) (envelope-from ambrisko@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id LAA06566 for ; Fri, 12 Dec 1997 11:56:40 -0800 (PST) Received: from UNKNOWN(), claiming to be "crab.whistle.com" via SMTP by alpo.whistle.com, id smtpd006562; Fri Dec 12 11:56:33 1997 Received: (from ambrisko@localhost) by crab.whistle.com (8.8.8/8.6.12) id LAA22953 for freebsd-mobile@freebsd.org; Fri, 12 Dec 1997 11:55:37 -0800 (PST) From: Doug Ambrisko Message-Id: <199712121955.LAA22953@crab.whistle.com> Subject: Re: Cardbus controller status request / notebook update In-Reply-To: <199712121837.KAA05516@tnt.isi.edu> from Ted Faber at "Dec 12, 97 10:37:40 am" To: freebsd-mobile@freebsd.org Date: Fri, 12 Dec 1997 11:55:37 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL29 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Ted Faber writes: | | Daniel Zappala wrote: | > | >Can anyone tell me the status of the CS6832 and TI1131 support in PAO? I | >understand they are still in the testing phase, but what is working? | >I.e. can the controller be probed? Put into compatability mode? | >Any cards working yet? | | I have code in -current to probe the CL6832, and as far as I know it | works fine. I'm waiting for testers to find some bug that I haven't. | The code runs unmodified on my 2.2.5-RELEASE box, so a back-port is a | null operation. PAO supports the CL6832, as well as some others, but | the 6832 is the only one I can vouch for personally. | | In both cases the chip runs in compatibility mode, i.e. looks like an | ISA controller and supports 16-bit cards. | | Drop me a note if you need more details. I have a CL6832 eval board and needed to add some code (lifted from PAO) to initialize the the port address. 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). We should be getting in a TI eval board and my laptop has the TI1130. So I expect to be doing some hacking on this stuff. 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;