Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Apr 1998 11:00:29 -1000
From:      richard@pegasus.com (Richard Foulk)
To:        hardware@FreeBSD.ORG
Subject:   PAO w/SSFDC pccard?
Message-ID:  <199804202100.LAA25595@pegasus.com>

next in thread | raw e-mail | index | archive | help
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



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