Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jun 1999 23:39:13 -0400 (EDT)
From:      Kent Hauser <kent@tfd.com>
To:        freebsd-mobile@freebsd.org
Subject:   PC-Card configuration help
Message-ID:  <199906290339.XAA01700@chapel-hill.tfd.com>

next in thread | raw e-mail | index | archive | help
Hi All,

I'm having trouble with a PC-Card I've got. It's a "serial port"
card from socket communications -- basically adds another com port.

I have no trouble with PC-Card modems & figured this would be the same.

Unfortunately, I get "resourse allocation failed" for this card when
I insert it. I got the `pccard.conf' entry by copying a similar modem
entry.

In running the problem down, I see that the memory allocation
fails when the card's inserted (ie alloc_memory returns -1).
The "memory" statement in my pccard.conf along with the `dumpcis'
output for the card are shown below. I'd appreciate any help
anyone might have.

Thanks.
	Kent

=========

# $Id: pccard.conf.sample,v 1.24.2.1 1999/02/05 09:42:27 markm Exp $

# Generally available IO ports
io	0x240-0x360
# Generally available IRQs (Built-in sound-card owners remove 5)
#irq	3 5 10 11 13 15
irq	3 10 11 13 15
# Available memory slots
memory	0xd4000  96k

# Serial IO adapter
card "Socket Communications Inc" "Serial Port Adapter Revision "
	config	0x5 "sio2" 5
	insert  echo Serial I/O inserted
	remove  echo Serial I/O removed

============


Configuration data for card in slot 0
Tuple #1, code = 0x1 (Common memory descriptor), length = 2
    000:  d4 3a
	Common memory device information:
		Device number 1, type Function specific, WPS = OFF
		Speed = 100nS, Memory block size = 8Kb, 8 units
Tuple #2, code = 0x10 (Checksum), length = 5
    000:  07 00 e8 00 6f
	Checksum from offset 7, length 232, value is 0x6f
Tuple #3, code = 0x17 (Attribute memory descriptor), length = 2
    000:  d4 3a
	Attribute memory device information:
		Device number 1, type Function specific, WPS = OFF
		Speed = 100nS, Memory block size = 8Kb, 8 units
Tuple #4, code = 0x14 (No link), length = 0
Tuple #5, code = 0x20 (Manufacturer ID), length = 4
    000:  04 01 01 00
	PCMCIA ID = 0x104, OEM ID = 0x1
Tuple #6, code = 0x21 (Functional ID), length = 2
    000:  02 01
	Serial port/modem - POST initialize
Tuple #7, code = 0x22 (Functional EXT), length = 4
    000:  00 02 0f 7f
	Serial interface extension:
		16550 UART, Parity - Space,Mark,Odd,Even,
Tuple #8, code = 0x15 (Version 1 info), length = 59
    000:  04 01 53 6f 63 6b 65 74 20 43 6f 6d 6d 75 6e 69
    010:  63 61 74 69 6f 6e 73 20 49 6e 63 00 53 65 72 69
    020:  61 6c 20 50 6f 72 74 20 41 64 61 70 74 65 72 20
    030:  52 65 76 69 73 69 6f 6e 20 42 00
	Version = 4.1, Manuf = [Socket Communications Inc],card vers = [Serial Port Adapter Revision B]
	Addit. info = [],[]
Tuple #9, code = 0x1a (Configuration map), length = 5
    000:  01 00 00 80 0f
	Reg len = 2, config register addr = 0x8000, last config = 0x0
	Registers: XXXX---- 
Tuple #10, code = 0x1b (Configuration entry), length = 19
    000:  c1 41 99 49 55 2d 54 23 30 ff ff 20 c1 05 43 4f
    010:  4d 58 00
	Config index = 0x1(default)
	Interface byte = 0x41 (I/O)  +RDY/-BSY active
	Vcc pwr:
		Nominal operating supply voltage: 5 x 1V
		Continuous supply current: 2.5 x 10mA
		Power down supply current: 5 x 1mA
	Card decodes 3 address lines, 8 Bit I/O only
		IRQ modes: Level
		IRQ level = 3
	Max twin cards = 0
	Misc attr: (Read-only) (Power down supported)
Tuple #11, code = 0x1b (Configuration entry), length = 23
    000:  c3 41 99 49 55 2d 54 b0 60 f8 03 07 30 10 00 20
    010:  c1 05 43 4f 4d 31 00
	Config index = 0x3(default)
	Interface byte = 0x41 (I/O)  +RDY/-BSY active
	Vcc pwr:
		Nominal operating supply voltage: 5 x 1V
		Continuous supply current: 2.5 x 10mA
		Power down supply current: 5 x 1mA
	Card decodes 16 address lines, 8 Bit I/O only
		I/O address # 1: block start = 0x3f8 block length = 0x8
		IRQ modes: Level
		IRQs:  4 5 12
	Max twin cards = 0
	Misc attr: (Power down supported)
Tuple #12, code = 0x1b (Configuration entry), length = 23
    000:  c5 41 99 49 55 2d 54 b0 60 f8 02 07 30 08 00 20
    010:  c1 05 43 4f 4d 32 00
	Config index = 0x5(default)
	Interface byte = 0x41 (I/O)  +RDY/-BSY active
	Vcc pwr:
		Nominal operating supply voltage: 5 x 1V
		Continuous supply current: 2.5 x 10mA
		Power down supply current: 5 x 1mA
	Card decodes 16 address lines, 8 Bit I/O only
		I/O address # 1: block start = 0x2f8 block length = 0x8
		IRQ modes: Level
		IRQs:  4 5 11
	Max twin cards = 0
	Misc attr: (Power down supported)
Tuple #13, code = 0x1b (Configuration entry), length = 23
    000:  c7 41 99 49 55 2d 54 b0 60 e8 03 07 30 10 00 20
    010:  c1 05 43 4f 4d 33 00
	Config index = 0x7(default)
	Interface byte = 0x41 (I/O)  +RDY/-BSY active
	Vcc pwr:
		Nominal operating supply voltage: 5 x 1V
		Continuous supply current: 2.5 x 10mA
		Power down supply current: 5 x 1mA
	Card decodes 16 address lines, 8 Bit I/O only
		I/O address # 1: block start = 0x3e8 block length = 0x8
		IRQ modes: Level
		IRQs:  4 5 12
	Max twin cards = 0
	Misc attr: (Power down supported)
Tuple #14, code = 0x1b (Configuration entry), length = 23
    000:  c9 41 99 49 55 2d 54 b0 60 e8 02 07 30 08 00 20
    010:  c1 05 43 4f 4d 34 00
	Config index = 0x9(default)
	Interface byte = 0x41 (I/O)  +RDY/-BSY active
	Vcc pwr:
		Nominal operating supply voltage: 5 x 1V
		Continuous supply current: 2.5 x 10mA
		Power down supply current: 5 x 1mA
	Card decodes 16 address lines, 8 Bit I/O only
		I/O address # 1: block start = 0x2e8 block length = 0x8
		IRQ modes: Level
		IRQs:  4 5 11
	Max twin cards = 0
	Misc attr: (Power down supported)
Tuple #15, code = 0x1b (Configuration entry), length = 18
    000:  c0 40 e1 49 55 2d 54 48 01 80 00 20 c1 04 4d 45
    010:  4d 00
	Config index = 0x0(default)
	Interface byte = 0x40 (memory)  +RDY/-BSY active
	Vcc pwr:
		Nominal operating supply voltage: 5 x 1V
		Continuous supply current: 2.5 x 10mA
		Power down supply current: 5 x 1mA
	Memory descriptor 1
		 blk length = 0x100 card addr = 0x8000
	Max twin cards = 0
	Misc attr: (Power down supported)
Tuple #16, code = 0xff (Terminator), length = 0
2 slots found


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?199906290339.XAA01700>