From owner-freebsd-stable Tue Sep 4 9:49:39 2001 Delivered-To: freebsd-stable@freebsd.org Received: from smtp.shikoku.ne.jp (smtp.shikoku.ne.jp [210.143.169.10]) by hub.freebsd.org (Postfix) with SMTP id E1AAB37B403 for ; Tue, 4 Sep 2001 09:49:33 -0700 (PDT) Received: (qmail 15982 invoked from network); 5 Sep 2001 01:49:31 +0900 Received: from unknown (HELO localhost) (210.157.174.155) by 0 with SMTP; 5 Sep 2001 01:49:31 +0900 Date: Wed, 05 Sep 2001 01:49:18 +0900 (JST) Message-Id: <20010905.014917.45508086.nin@smtp.shikoku.ne.jp> To: stable@FreeBSD.ORG Subject: Re: PC Card memory window From: NINOMIYA Hideyuki In-Reply-To: <20010903221223U.non@ever.sanda.gr.jp> References: <20010902165357Q.non@ever.sanda.gr.jp> <200109030428.f834Sxh23190@harmony.village.org> <20010903221223U.non@ever.sanda.gr.jp> X-cite-me: nin X-PGP-Fingerprint: 6C59 EC08 5B23 6490 44D0 7CD3 DA40 219F 7114 8553 X-PGP-Public-Key: http://user.shikoku.ne.jp/~nin/pgp/public-key.txt X-URI: http://user.shikoku.ne.jp/~nin/index.html X-URI: http://home.Jp.FreeBSD.org/~nin/index.html X-Mailer: Mew version 2.0.52 on Emacs 21.0 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi MITUNAGA Noriaki wrote in maybe Mon, 03 Sep 2001 22:12:23 +0900 Subject: Re: PC Card memory window Message-Id: <20010903221223U.non@ever.sanda.gr.jp> > From: Warner Losh > Date: Sun, 02 Sep 2001 22:28:59 -0600 > > Try the following patch: > > Yes, it worked for the iomem window. Thank you. nsp does not work in my kernel and pccardd which did time cvsup today (Sep, 4 16:00 (JST)). But, in old (I built it on Aug, 28) kernel and combination of the latest pccardd, nsp came to work with SMIT mode. I was surprised at this thing very much. Eliciting message of these 2 kernel and pccardd as follows. ---8<------8<--- latest kernel & pccardd ---8<------8<--- Sep 4 19:21:17 mebius /kernel: pcic0: at device 9.0 on pci0 Sep 4 19:21:18 mebius /kernel: pcic0: PCI Memory allocated: 0x44000000 Sep 4 19:21:18 mebius /kernel: pcic0: No PCI interrupt routed, trying ISA. Sep 4 19:21:18 mebius /kernel: pcic0: Polling mode Sep 4 19:21:18 mebius /kernel: pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq] Sep 4 19:21:18 mebius /kernel: pccard0: on pcic0 Sep 4 19:21:18 mebius /kernel: pcic1: at device 9.1 on pci0 Sep 4 19:21:18 mebius /kernel: pcic1: PCI Memory allocated: 0x44001000 Sep 4 19:21:18 mebius /kernel: pcic1: No PCI interrupt routed, trying ISA. Sep 4 19:21:18 mebius /kernel: pcic1: Polling mode Sep 4 19:21:18 mebius /kernel: pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq] Sep 4 19:21:18 mebius /kernel: pccard1: on pcic1 Sep 4 19:21:40 mebius /kernel: pccard: card inserted, slot 1 Sep 4 19:21:46 mebius pccardd[127]: Card "WBT"("NinjaSCSI-3") [R1.0] [(null)] matched "WBT" ("NinjaSCSI-3") [(null)] [(null)] Sep 4 19:21:46 mebius pccardd[127]: Using mem addr 0xd4000, size 4096, card addr 0x0, flags 0x41 Sep 4 19:21:46 mebius pccardd[127]: Using I/O addr 0x240, size 16 Sep 4 19:21:46 mebius pccardd[127]: Setting config reg at offs 0x200 to 0x41, Reset time = 50 ms Sep 4 19:21:51 mebius pccardd[127]: Assigning I/O window 0, start 0x240, size 0x10 flags 0x7 Sep 4 19:21:51 mebius pccardd[127]: Assign nsp0, io 0x240-0x24f, mem 0xd4000, 4096 bytes, irq 3, flags 0 Sep 4 19:21:51 mebius /kernel: pccard1: Assigning nsp0: io 0x240-0x24f irq 3 mem 0xd4000-0xd4fff Sep 4 19:21:51 mebius /kernel: pcic: I/O win 0 flags 17 240-24f Sep 4 19:21:51 mebius /kernel: pcic: I/O win 0 flags 7 240-24f Sep 4 19:21:51 mebius pccardd[127]: driver allocation failed for WBT(NinjaSCSI-3): Device not configured Sep 4 19:29:36 mebius /kernel: pccard: card removed, slot 1 Sep 4 19:29:36 mebius pccardd[127]: nsp0: WBT (NinjaSCSI-3) removed. ---8<------8<--- kernel.010828 & latest pccardd ---8<------8<--- Sep 4 19:31:08 mebius /kernel.010828: pcic0: at device 9.0 on pci0 Sep 4 19:31:08 mebius /kernel.010828: pcic0: PCI Memory allocated: 0x44000000 Sep 4 19:31:08 mebius /kernel.010828: pcic0: No PCI interrupt routed, trying ISA. Sep 4 19:31:08 mebius /kernel.010828: pcic0: Polling mode Sep 4 19:31:08 mebius /kernel.010828: pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq] Sep 4 19:31:08 mebius /kernel.010828: pccard0: on pcic0 Sep 4 19:31:08 mebius /kernel.010828: pcic1: at device 9.1 on pci0 Sep 4 19:31:08 mebius /kernel.010828: pcic1: PCI Memory allocated: 0x44001000 Sep 4 19:31:08 mebius /kernel.010828: pcic1: No PCI interrupt routed, trying ISA. Sep 4 19:31:08 mebius /kernel.010828: pcic1: Polling mode Sep 4 19:31:08 mebius /kernel.010828: pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq] Sep 4 19:31:08 mebius /kernel.010828: pccard1: on pcic1 Sep 4 19:31:33 mebius /kernel.010828: pccard: card inserted, slot 1 Sep 4 19:31:39 mebius pccardd[127]: Card "WBT"("NinjaSCSI-3") [R1.0] [(null)] matched "WBT" ("NinjaSCSI-3") [(null)] [(null)] Sep 4 19:31:39 mebius pccardd[127]: Using mem addr 0xd4000, size 4096, card addr 0x0, flags 0x41 Sep 4 19:31:39 mebius pccardd[127]: Using I/O addr 0x240, size 16 Sep 4 19:31:39 mebius pccardd[127]: Setting config reg at offs 0x200 to 0x41, Reset time = 50 ms Sep 4 19:31:44 mebius pccardd[127]: Assigning I/O window 0, start 0x240, size 0x10 flags 0x7 Sep 4 19:31:44 mebius pccardd[127]: Assign nsp0, io 0x240-0x24f, mem 0xd4000, 4096 bytes, irq 3, flags 0 Sep 4 19:31:52 mebius /kernel.010828: nsp0 at port 0x240-0x24f iomem 0xcc000-0xccfff irq 3 slot 1 on pccard1 Sep 4 19:31:52 mebius pccardd[127]: nsp0: WBT (NinjaSCSI-3) inserted. Sep 4 19:37:32 mebius /kernel.010828: pccard: card inserted, slot 0 Sep 4 19:37:38 mebius pccardd[127]: Card "IO DATA DEVICE,INC."("DATA&FAX MODEM PCML560") [(null)] [(null)] has function ID 2 Sep 4 19:37:38 mebius pccardd[127]: Using I/O addr 0x2f8, size 8 Sep 4 19:37:38 mebius pccardd[127]: Setting config reg at offs 0x420 to 0x45, Reset time = 1000 ms Sep 4 19:37:44 mebius pccardd[127]: Assigning I/O window 0, start 0x2f8, size 0x8 flags 0x1 Sep 4 19:37:44 mebius pccardd[127]: Assign sio0, io 0x2f8-0x2ff, mem 0x0, 0 bytes, irq 5, flags 0 Sep 4 19:37:44 mebius /kernel.010828: sio1 at port 0x2f8-0x2ff irq 5 slot 0 on pccard0 Sep 4 19:37:44 mebius pccardd[127]: sio1: GENERIC PCMCIA modem inserted. ---8<------8<------8<------8<------8<------8<------8<------8<--- I think that a difference of Noriaki's machine and my machine is the difference that pcic attached into isa, or attached into pci. Will this thing be related with this appearance ? ---- *************************************************************** * This message is a thing by output of automatic translation. * * Therefore it will be for there to be a lot of funny parts. * * Please approve it. * *************************************************************** NINOMIYA(family name) Hideyuki(fast name) @ ehime japan mailto:nin@shikoku.ne.jp mailto:nin@Jp.FreeBSD.org PGP-Fingerprint:6C59 EC08 5B23 6490 44D0 7CD3 DA40 219F 7114 8553 PGP-Public-Key: http://user.shikoku.ne.jp/~nin/pgp/public-key.txt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message