From owner-freebsd-mobile Thu Sep 13 8:32:27 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from knock.econ.vt.edu (knock.econ.vt.edu [128.173.172.240]) by hub.freebsd.org (Postfix) with ESMTP id 7BDDD37B40E for ; Thu, 13 Sep 2001 08:32:13 -0700 (PDT) Received: (from rdmurphy@localhost) by knock.econ.vt.edu (8.11.6/8.11.4) id f8DFW1s49559; Thu, 13 Sep 2001 11:32:01 -0400 (EDT) (envelope-from rdmurphy) From: "Russell D. Murphy Jr." MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15264.53617.698867.84047@localhost.econ.vt.edu> Date: Thu, 13 Sep 2001 11:32:01 -0400 To: Warner Losh Cc: FreeBSD-mobile@FreeBSD.ORG Subject: Re: pccardd and TI PCI-1250 PCI-CardBus Bridge In-Reply-To: <200109130743.f8D7hwt96167@harmony.village.org> References: <15262.7579.175475.703603@localhost.econ.vt.edu> <15261.4103.952522.597428@localhost.econ.vt.edu> <200109110232.f8B2W6t29273@harmony.village.org> <200109130743.f8D7hwt96167@harmony.village.org> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: rdmurphy@vt.edu 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 I've set: According to Warner Losh (September 13, 2001): | | hw.pcic.intr_path=1 | hw.pcic.irq=0 # values other than 0 don't work | | would be better. | | Plug and play OS should be NO if you can set it. Otherwise chances | are good that it just doesn't matter. PNP OS is NO. The response is strange; I inserted and ejected the card 3 times: The machine boots up as: Sep 13 10:10:31 kenmare /kernel: pcic0: irq 9 at device 10.0 on pci0 Sep 13 10:10:31 kenmare /kernel: pcic0: PCI Memory allocated: 0x44000000 Sep 13 10:10:31 kenmare /kernel: pcic0: Polling mode Sep 13 10:10:31 kenmare /kernel: pcic0: TI12XX PCI Config Reg: [speaker enable][pwr save][FUNC pci int + CSC serial isa irq] Sep 13 10:10:31 kenmare /kernel: pccard0: on pcic0 Sep 13 10:10:31 kenmare /kernel: pcic1: irq 9 at device 10.1 on pci0 Sep 13 10:10:31 kenmare /kernel: pcic1: PCI Memory allocated: 0x44001000 Sep 13 10:10:31 kenmare /kernel: pcic1: Polling mode Sep 13 10:10:31 kenmare /kernel: pcic1: TI12XX PCI Config Reg: [speaker enable][pwr save][FUNC pci int + CSC serial isa irq] Sep 13 10:10:31 kenmare /kernel: pccard1: on pcic1 1 - I insert the card and it seems to be recognized, but the machine doesn't respond to the keyboard. I eject the card. Sep 13 10:11:00 kenmare /kernel: pccard: card inserted, slot 0 Sep 13 10:11:00 kenmare /kernel: pcic0: reset 1 int is 0 stat is 7f Sep 13 10:11:01 kenmare /kernel: pcic0: reset 2 int is 60 stat is 5f Sep 13 10:11:01 kenmare /kernel: pcic0: reset 3 int is 60 stat is 7f Sep 13 10:11:06 kenmare pccardd[132]: Card "3Com Corporation"("3C589D") [TP/BNC LAN Card Ver. 2a] [000002] matched "3Com Corporation" ("/3C589/") [(null)] [(null)] Sep 13 10:11:11 kenmare /kernel: pccard0: Assigning ep0: io 0x250-0x25f irq 3 mem 0x0-0xffffffff Sep 13 10:11:12 kenmare /kernel: pcic: I/O win 0 flags 17 250-25f Sep 13 10:11:12 kenmare /kernel: pcic: I/O win 0 flags 7 250-25f Sep 13 10:11:12 kenmare /kernel: ep0: <3Com Etherlink III 3C589> at port 0x250-0x25f irq 3 slot 0 on pccard0 Sep 13 10:11:12 kenmare /kernel: pcic: I/O win 0 flags 17 250-25f Sep 13 10:11:12 kenmare /kernel: ep0: Ethernet address 00:60:08:b1:3a:5e Sep 13 10:11:12 kenmare /kernel: bpf: ep0 attached Sep 13 10:11:12 kenmare /kernel: pcic: I/O win 0 flags 7 250-25f Sep 13 10:11:12 kenmare /kernel: ep0: detached Sep 13 10:11:12 kenmare /kernel: pccard: card removed, slot 0 Sep 13 10:11:11 kenmare pccardd[132]: ep0: 3Com Corporation (/3C589/) inserted. Sep 13 10:11:12 kenmare pccardd[132]: ep0: 3Com Corporation (/3C589/) removed. 2 - now the machine responds again; so I re-insert the card. Now, the card isn't recognized, but the machine responds to the keyboard. I eject the card. Sep 13 10:55:02 kenmare /kernel: pccard: card inserted, slot 0 Sep 13 10:55:02 kenmare /kernel: pcic0: reset 1 int is 0 stat is c Sep 13 10:55:02 kenmare /kernel: pcic0: reset 2 int is 60 stat is c Sep 13 10:55:02 kenmare /kernel: pcic0: reset 3 int is 60 stat is c Sep 13 10:55:07 kenmare pccardd[132]: No card in database for "(null)"("(null)") Sep 13 10:56:04 kenmare /kernel: pccard: card removed, slot 0 3 - Re-inserting the card now hangs the machine, after it's recognized. It has to be turned off. Sep 13 10:56:29 kenmare /kernel: pccard: card inserted, slot 0 Sep 13 10:56:29 kenmare /kernel: pcic0: reset 1 int is 0 stat is 7f Sep 13 10:56:29 kenmare /kernel: pcic0: reset 2 int is 60 stat is 5f Sep 13 10:56:29 kenmare /kernel: pcic0: reset 3 int is 60 stat is 7f Sep 13 10:56:34 kenmare pccardd[132]: Card "3Com Corporation"("3C589D") [TP/BNC LAN Card Ver. 2a] [000002] matched "3Com Corporation" ("/3C589/") [(null)] [(null)] Russ M. -- Russell D. Murphy Department of Economics Virginia Polytechnic Institute and State University Blacksburg, Virginia 24061 (540) 231-4537 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message