Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Sep 2001 01:49:18 +0900 (JST)
From:      NINOMIYA Hideyuki <nin@shikoku.ne.jp>
To:        stable@FreeBSD.ORG
Subject:   Re: PC Card memory window 
Message-ID:  <20010905.014917.45508086.nin@smtp.shikoku.ne.jp>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <imp@harmony.village.org>
> 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: <TI PCI-1420 PCI-CardBus Bridge> 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: <PC Card bus (classic)> on pcic0
Sep  4 19:21:18 mebius /kernel: pcic1: <TI PCI-1420 PCI-CardBus Bridge> 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: <PC Card bus (classic)> 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: <TI PCI-1420 PCI-CardBus Bridge> 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: <PC Card bus (classic)> on pcic0
Sep  4 19:31:08 mebius /kernel.010828: pcic1: <TI PCI-1420 PCI-CardBus Bridge> 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: <PC Card bus (classic)> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010905.014917.45508086.nin>