Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Apr 2000 16:43:25 -0600
From:      Oscar Bonilla <obonilla@fisicc-ufm.edu>
To:        freebsd-mobile@freebsd.org
Subject:   Sony Vaio CD-ROM
Message-ID:  <20000406164325.A333@fisicc-ufm.edu>

next in thread | raw e-mail | index | archive | help
I'm trying to make the Vaio CDROM (PCMCIA Interface) work with -CURRENT.
this is the CIS for the card:

Configuration data for card in slot 0
Tuple #1, code = 0x1 (Common memory descriptor), length = 3
    000:  dc 00 ff
	Common memory device information:
		Device number 1, type Function specific, WPS = ON
		Speed = 100nS, Memory block size = 512b, 1 units
Tuple #2, code = 0x15 (Version 1 info), length = 26
    000:  04 01 20 00 4e 69 6e 6a 61 41 54 41 2d 00 56 31
    010:  2e 30 00 41 50 30 30 20 00 ff
	Version = 4.1, Manuf = [ ],card vers = [NinjaATA-]
	Addit. info = [V1.0],[AP00 ]
Tuple #3, code = 0x1a (Configuration map), length = 5
    000:  01 23 00 02 03
	Reg len = 2, config register addr = 0x200, last config = 0x23
	Registers: XX------ 
Tuple #4, code = 0x1b (Configuration entry), length = 21
    000:  e1 01 3d 11 55 1e fc 23 f0 61 80 01 07 86 03 01
    010:  30 68 d0 10 00
	Config index = 0x21(default)
	Interface byte = 0x1 (I/O)
	Vcc pwr:
		Nominal operating supply voltage: 5 x 1V
		Max current average over 1 second: 1.5 x 100mA
	Wait scale Speed = 1.5 x 1 us
	Card decodes 3 address lines, 8 Bit I/O only
		IRQ modes: Level
		IRQ level = 3
	Memory space length = 0x61f0
Tuple #5, code = 0x1b (Configuration entry), length = 15
    000:  22 38 f0 61 90 01 07 96 03 01 30 68 d0 10 00
	Config index = 0x22
	Card decodes 16 address lines, full 8/16 Bit I/O
		I/O address # 1: block start = 0x190 block length = 0x8
		I/O address # 2: block start = 0x396 block length = 0x2
		IRQ modes: Level
		IRQs:  4 5 11 13 14
	Memory space length = 0x10
Tuple #6, code = 0x1b (Configuration entry), length = 15
    000:  23 38 f0 61 a0 01 07 a6 03 01 30 68 d0 10 00
	Config index = 0x23
	Card decodes 16 address lines, full 8/16 Bit I/O
		I/O address # 1: block start = 0x1a0 block length = 0x8
		I/O address # 2: block start = 0x3a6 block length = 0x2
		IRQ modes: Level
		IRQs:  4 5 11 13 14
	Memory space length = 0x10
Tuple #7, code = 0x14 (No link), length = 0
Tuple #8, code = 0xff (Terminator), length = 0
1 slots found


this is what I have in /etc/pccard.conf

card " " "NinjaATA-"
	config 0x23 "ata2" ?
	insert  logger -t pccard:$device -s Sony Vaio CD-ROM Card inserted
        remove  logger -t pccard:$device -s Sony Vaio CD-ROM Card removed

this is the relevant entries in my kernel config file

device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices

this is the error message I get

Apr  6 16:34:17 voyager pccardd[46]: driver allocation failed for  (NinjaATA-): Device not configured

What am I doing wrong?

Regards,

-oscar

-- 
pgp public key: finger obonilla@fisicc-ufm.edu
pgp fingerprint: 6D 18 8C 90 4C DF F0 4B  DF 35 1F 69 A1 33 C7 BC


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




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