From owner-freebsd-hardware Mon Apr 20 14:22:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA23390 for freebsd-hardware-outgoing; Mon, 20 Apr 1998 14:22:04 -0700 (PDT) (envelope-from owner-freebsd-hardware@FreeBSD.ORG) Received: from pegasus.com (pegasus.com [206.127.225.31]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id VAA23155 for ; Mon, 20 Apr 1998 21:20:50 GMT (envelope-from richard@pegasus.com) Received: by pegasus.com (8.6.8/PEGASUS-2.2) id LAA25595; Mon, 20 Apr 1998 11:00:29 -1000 Date: Mon, 20 Apr 1998 11:00:29 -1000 From: richard@pegasus.com (Richard Foulk) Message-Id: <199804202100.LAA25595@pegasus.com> X-Mailer: Mail User's Shell (7.2.5 10/14/92) To: hardware@FreeBSD.ORG Subject: PAO w/SSFDC pccard? Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Aloha, I asked recently about connecting a PC-Card interface to an SSFDC (SmartMedia eeprom card, for Olympus digital camera) and someone said check out PAO ... Yikes! Okay, there's no entry in pccard.conf.sample that exactly matches my card (several are close). But even if there was I don't understand what the FAQ is talking about (in the Flash ATA card section) when it says: (this example assumes the Flash ATA disk controller was attached as "wdc1", and the Flash ATA disk is attached as "wd1", as defined in the PAO config file and pccard.conf.sample) How is all this attaching done? With `pccardc enabler' perhaps? How? Before I jump in and start reverse-engineering the code, perhaps someone can point me at some documentation I missed or provide the necessary magic. I've compiled all the junk and patched and rebuilt the kernel which now reports at boot: crd: ctlr(0) Cirrus Logic PD672X (5 mem & 2 I/O windows) pcic: controller I/O address 0x3e0 pcic: controller irq 5 (shared) pcic: controller I/O address 0x3e0 This is on a desktop machine with a pccard adaptor. And a few peeks with pccardc shows: ms# pccardc dumpcis 2 slots found ms# pccardc rdmap Mem 0: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 1: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 2: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 3: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 4: flags 0x000 host 0x0 card 0000 size 0 bytes I/O 0: flags 0x000 port 0x 0 size 0 bytes I/O 1: flags 0x000 port 0x 0 size 0 bytes Mem 0: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 1: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 2: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 3: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 4: flags 0x000 host 0x0 card 0000 size 0 bytes I/O 0: flags 0x000 port 0x 0 size 0 bytes I/O 1: flags 0x000 port 0x 0 size 0 bytes ms# pccardc rdreg Registers for slot 0 00: 82 73 10 00 00 5f 00 00 00 00 00 00 00 00 00 00 10: 00 00 00 00 00 00 11 00 00 00 00 00 00 00 00 f8 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 81 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Registers for slot 1 00: 82 73 10 00 00 5f 00 00 00 00 00 00 00 00 00 00 10: 00 00 00 00 00 00 11 00 00 00 00 00 00 00 00 f8 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 81 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ms# Thanks Richard To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message