Date: Fri, 18 Aug 2000 14:24:14 -0400 (EDT) From: David Gilbert <dgilbert@velocet.ca> To: freebsd-mobile@freebsd.org, freebsd-questions@freebsd.org Subject: PCCard controler "sees" disk differently? Message-ID: <14749.32590.386733.624002@trooper.velocet.net>
next in thread | raw e-mail | index | archive | help
I'm having some problems with a pccard controller for desktop computers call "Power Chute" ... It's an ISA card that attaches pccards to a desktop system. When I insert the card on the desktop, I get: Aug 18 17:02:40 news /kernel: pccard: card inserted, slot 1 Aug 18 13:02:46 news pccardd[282]: No card in database for "(null)"("(null)") When I insert the same card on my laptop, I get: Aug 18 14:10:52 canoe /kernel: pccard: card inserted, slot 1 Aug 18 14:11:07 canoe pccardd[46]: Card "SunDisk"("SDP") [5/3 0.6] [(null)] matched "SunDisk" ("/.*/") [(null)] [(null)] Aug 18 14:11:12 canoe /kernel: ata4 at port 0x260-0x26f irq 11 slot 1 on pccard1 Aug 18 14:11:12 canoe /kernel: ad8: 30MB <SanDisk SDCFB-32> [490/4/32] at ata4-master using BIOSPIO Aug 18 14:11:12 canoe pccardd[46]: ata4: SunDisk (/.*/) inserted. The PCCard controller on desktop (the Power Chute) probes as: pcic2: <Cirrus Logic PD672X> at port 0x3e0-0x3e1 on isa0 pcic2: Polling mode pccard0: <PC Card bus -- kludge version> on pcic2 pccard1: <PC Card bus -- kludge version> on pcic2 And the PCCard controller on the laptop probes as: pcic0: <Intel i82365> at port 0x3e0 iomem 0xd0000 irq 10 on isa0 pcic0: management irq 10 pccard0: <PC Card bus -- kludge version> on pcic0 pccard1: <PC Card bus -- kludge version> on pcic0 On the laptop, [1:6:306]root@canoe:~> pccardc dumpcis 1 Configuration data for card in slot 1 Tuple #1, code = 0x1 (Common memory descriptor), length = 4 000: df 72 01 ff Common memory device information: Device number 1, type Function specific, WPS = ON Speed = 7.0 x 100 ns, Memory block size = reserved, 32 units Device number 2, type No device, WPS = OFF Speed = No speed, Memory block size = 512b, 1 units Tuple #2, code = 0x1c (Other conditions for common memory), length = 4 000: 03 d9 01 ff (MWAIT) (3V card) Tuple #3, code = 0x18 (JEDEC descr for common memory), length = 2 000: df 01 Tuple #4, code = 0x20 (Manufacturer ID), length = 4 000: 45 00 01 04 PCMCIA ID = 0x45, OEM ID = 0x401 Tuple #5, code = 0x15 (Version 1 info), length = 23 000: 04 01 53 75 6e 44 69 73 6b 00 53 44 50 00 35 2f 010: 33 20 30 2e 36 00 ff Version = 4.1, Manuf = [SunDisk], card vers = [SDP] Addit. info = [5/3 0.6] Tuple #6, code = 0x0 (Null tuple), length = 3 000: 14 08 00 Tuple #7, code = 0x21 (Functional ID), length = 2 000: 04 01 Fixed disk card - POST initialize Tuple #8, code = 0x22 (Functional EXT), length = 2 000: 01 01 Tuple #9, code = 0x22 (Functional EXT), length = 3 000: 02 0c 0f Disk features: Silicon, Unique, Single Sleep, Standby, Idle, Low power, Tuple #10, code = 0x1a (Configuration map), length = 5 000: 01 07 00 02 0f Reg len = 2, config register addr = 0x200, last config = 0x7 Registers: XXXX---- Tuple #11, code = 0x1b (Configuration entry), length = 11 000: c0 c0 a1 27 55 4d 5d 75 08 00 21 Config index = 0x0(default) Interface byte = 0xc0 (memory) +RDY/-BSY active, wait signal supported Vcc pwr: Nominal operating supply voltage: 5 x 1V Minimum operating supply voltage: 4.5 x 1V Maximum operating supply voltage: 5.5 x 1V Max current average over 10 ms: 8 x 10mA Memory space length = 0x8 Max twin cards = 1 Misc attr: (Power down supported) Tuple #12, code = 0x1b (Configuration entry), length = 6 000: 00 01 21 b5 1e 4d Config index = 0x0 Vcc pwr: Nominal operating supply voltage: 3 x 1V, ext = 0x1e Max current average over 10 ms: 4.5 x 10mA Tuple #13, code = 0x1b (Configuration entry), length = 13 000: c1 41 99 27 55 4d 5d 75 64 f0 ff ff 21 Config index = 0x1(default) Interface byte = 0x41 (I/O) +RDY/-BSY active Vcc pwr: Nominal operating supply voltage: 5 x 1V Minimum operating supply voltage: 4.5 x 1V Maximum operating supply voltage: 5.5 x 1V Max current average over 10 ms: 8 x 10mA Card decodes 4 address lines, full 8/16 Bit I/O IRQ modes: Level, Pulse, Shared IRQs: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Max twin cards = 1 Misc attr: (Power down supported) Tuple #14, code = 0x1b (Configuration entry), length = 6 000: 01 01 21 b5 1e 4d Config index = 0x1 Vcc pwr: Nominal operating supply voltage: 3 x 1V, ext = 0x1e Max current average over 10 ms: 4.5 x 10mA Tuple #15, code = 0x1b (Configuration entry), length = 18 000: c2 41 99 27 55 4d 5d 75 ea 61 f0 01 07 f6 03 01 010: ee 21 Config index = 0x2(default) Interface byte = 0x41 (I/O) +RDY/-BSY active Vcc pwr: Nominal operating supply voltage: 5 x 1V Minimum operating supply voltage: 4.5 x 1V Maximum operating supply voltage: 5.5 x 1V Max current average over 10 ms: 8 x 10mA Card decodes 10 address lines, full 8/16 Bit I/O I/O address # 1: block start = 0x1f0 block length = 0x8 I/O address # 2: block start = 0x3f6 block length = 0x2 IRQ modes: Level, Pulse, Shared IRQ level = 14 Max twin cards = 1 Misc attr: (Power down supported) Tuple #16, code = 0x1b (Configuration entry), length = 6 000: 02 01 21 b5 1e 4d Config index = 0x2 Vcc pwr: Nominal operating supply voltage: 3 x 1V, ext = 0x1e Max current average over 10 ms: 4.5 x 10mA Tuple #17, code = 0x1b (Configuration entry), length = 18 000: c3 41 99 27 55 4d 5d 75 ea 61 70 01 07 76 03 01 010: ee 21 Config index = 0x3(default) Interface byte = 0x41 (I/O) +RDY/-BSY active Vcc pwr: Nominal operating supply voltage: 5 x 1V Minimum operating supply voltage: 4.5 x 1V Maximum operating supply voltage: 5.5 x 1V Max current average over 10 ms: 8 x 10mA Card decodes 10 address lines, full 8/16 Bit I/O I/O address # 1: block start = 0x170 block length = 0x8 I/O address # 2: block start = 0x376 block length = 0x2 IRQ modes: Level, Pulse, Shared IRQ level = 14 Max twin cards = 1 Misc attr: (Power down supported) Tuple #18, code = 0x1b (Configuration entry), length = 6 000: 03 01 21 b5 1e 4d Config index = 0x3 Vcc pwr: Nominal operating supply voltage: 3 x 1V, ext = 0x1e Max current average over 10 ms: 4.5 x 10mA Tuple #19, code = 0x1b (Configuration entry), length = 4 000: 07 00 28 d3 Config index = 0x7 Tuple #20, code = 0x14 (No link), length = 0 Tuple #21, code = 0xff (Terminator), length = 0 If I do this on the desktop: [1:8:308]root@news:~> pccardc dumpcis 0 Code 224 not found Code 224 not found code Unknown ignored Code 131 not found Code 131 not found code Unknown ignored Code 118 not found Code 118 not found code Unknown ignored Code 45 not found Code 45 not found code Unknown ignored Code 192 not found Code 192 not found code Unknown ignored Code 196 not found Code 196 not found code Unknown ignored Code 94 not found Code 94 not found code Unknown ignored Code 246 not found Code 246 not found code Unknown ignored Configuration data for card in slot 0 Tuple #1, code = 0x0 (Null tuple), length = 208 000: 46 8a ff e4 8d 01 24 ee 5f c3 c8 00 56 76 8e 08 010: 80 3e 0f b6 8b 04 47 89 fe 8a 08 e8 88 fb 07 49 020: c8 01 e0 46 8b fe c2 ec 46 26 7c 19 0f 46 08 fd 030: 56 42 0c eb 8a fc d0 46 8b fe ec df 46 8a fd e4 040: 56 83 30 4c 8a fb e9 b0 d2 88 fc 56 83 31 88 fd 050: 80 3f 73 8a fc 46 8b fe ec 20 10 8a fc d0 46 8b 060: fe ec df 46 8a fd e4 56 83 31 8a fb e4 56 42 5e 070: c3 c8 00 56 76 8b 04 44 04 0f 48 8a 06 ff de 5e 080: f6 30 0f 8a f6 30 0f 82 8a 30 7f 46 3c 0f 46 3c 090: 0f 40 8a 30 d0 07 d8 c0 c3 03 46 80 06 fa 75 fe 0a0: ff 7e 42 04 46 09 7e 43 07 46 0a 0b 80 fa 75 c6 0b0: ff 8b 83 0d a8 75 8b 83 1f a8 0f 29 80 ff 0f 21 0c0: c6 ff 8b fc 67 f7 46 5e c3 80 30 80 30 8a 30 7f Tuple #2, code = 0x13 (Link target), length = 11 000: 5e 80 30 80 30 8b fc 47 24 88 fa Tuple #3, code = 0x13 (Link target), length = 130 000: 00 1c 87 00 47 08 1b 47 8b 24 8a 02 02 02 04 88 010: ff c1 e9 00 8a 30 d0 07 d8 c0 c3 03 46 80 06 fa 020: 75 fe ff 7e 13 07 46 0a 0b 80 fa 75 c6 ff 8b 83 030: 0d a8 75 8b 83 1f a8 74 80 ff 73 c6 ff 8a ff c9 040: 8a 06 ff de 47 02 37 47 24 c0 04 e4 c0 db 74 48 050: 05 03 7e c6 ff 8a ff c9 c6 ff 8a ff c9 c6 ff 8a 060: ff c9 8a 20 c8 70 e8 8a 02 02 02 04 88 ff c1 74 070: fe ff 46 5e c3 55 ec 8b 04 00 46 50 e8 00 c4 6a 080: 56 52 Tuple #4, code = 0x0 (Null tuple), length = 4 000: 44 04 75 66 Tuple #5, code = 0x0 (Null tuple), length = 86 000: e4 83 06 c9 55 ec 8b 04 46 8b 04 e4 56 2a 03 83 010: 20 f7 0e 00 15 c4 04 8f 0d c0 56 2a 03 83 70 5e 020: c3 55 ec 8b 04 46 8b 04 e4 d1 c2 ee 44 04 74 f6 030: 06 75 33 8b 83 05 5e c3 c8 00 57 9c 58 46 c4 04 040: 8b 8b 04 80 04 0f ec 26 47 00 94 00 88 fe e8 f9 050: c4 c4 04 f7 06 00 Tuple #6, code = 0x0 (Null tuple), length = 69 000: 01 27 45 04 74 8d 5e 0c 2a eb 8d 60 0c 2a ee 41 010: 8d 67 33 8d 68 8d 90 ec 46 b8 00 b8 00 94 00 06 020: 8d a0 50 b2 83 06 c0 94 00 8d 90 ee 80 8d 9a ee 030: 66 8a fa ff e3 8e 06 5e 66 ff 08 84 00 e8 fa c4 040: fe fa 7e 07 d9 Tuple #7, code = 0x0 (Null tuple), length = 148 000: 00 8a 0d e1 08 c8 07 45 04 74 8d 5e 0c 2a eb 8d 010: 9b ee 46 2a 8d 90 ee 46 24 50 e8 f8 c4 eb 26 7f 020: 04 14 26 47 26 57 80 80 cc 66 89 04 46 50 5e c9 030: c8 00 57 9c 58 46 8b 04 77 8d 87 ec 46 88 ec e8 040: f8 c4 8d 90 ec 46 b8 00 88 ee 46 2a 8b 8b 03 81 050: b0 ec 43 fe ee 7e 04 e4 46 8d 90 ee 46 50 76 e8 060: f8 c4 ff 04 b0 83 02 0f 46 0a 75 8b f6 9d 46 5e 070: c9 f6 f4 74 80 f4 8a f4 ff 04 26 83 04 76 e8 f8 080: c4 88 fa 0f 46 0a 0f 48 f6 fa 0f ef ff 04 b6 8b 090: 04 c4 8b 0c Tuple #8, code = 0x0 (Null tuple), length = 117 000: f7 0e 00 84 00 54 ec 46 a8 0f b6 25 00 b8 00 94 010: 00 8a f4 53 c6 83 04 5e 66 8b 04 8b 06 e4 80 01 020: 26 47 c4 fc f7 26 ff 10 26 47 80 04 cc 66 89 04 030: 5e 2a 26 47 2b 3d 00 22 0c c0 1c 04 18 0c 14 26 040: 47 26 57 80 04 cc 66 89 04 4e 40 44 8d 9d ec 46 050: 0a 75 f7 0e 80 05 01 eb b8 00 94 00 c8 2a 85 0f 060: 60 e9 ff 8a f2 e4 8a f4 53 1c 83 04 4e 80 46 0d 070: 3f 5e f7 0e 00 Tuple #9, code = 0x5 (Configuration entry for CardBus), length = 148 000: 00 c6 f2 f6 fa 74 8d 0c 88 f0 80 04 46 3b 56 2a 010: 03 ec c0 07 4e 80 10 80 f8 f6 fa 0f 14 b8 00 94 020: 00 80 fa 80 fa 75 56 ff fc ba 83 06 cd 80 fa 75 030: c4 fc 53 ff e8 e1 e7 80 fa 75 56 ff fc 22 eb 80 040: fa 75 56 ff fc 24 eb 80 fa 75 56 ff fc e6 eb 80 050: fa 75 66 76 ff 04 bb 80 fa 75 56 ff fc ba eb 80 060: fa 75 56 ff fc ca eb 80 fa 74 80 fa 74 80 fa 75 070: c4 fc f7 06 00 34 5e f6 0c 74 8d 0d 24 3c 1b 40 080: c1 02 5e 26 47 25 00 c9 31 04 31 06 5e 26 4f 08 090: 54 ec fb ee Config index = 0x0 Vcc pwr: Minimum operating supply voltage: 8 x 10V, ext = 0xfa, ext = 0x74 Max current average over 1 second: 1.2 x 10mA, ext = 0xc Max current average over 10 ms: 1.2 x 10nA, ext = 0xf0, ext = 0x80, ext = 0x4 Power down supply current: 4 x 100mA Reserved: 3.5 x 100uA Vpp pwr: Minimum operating supply voltage: 2.5 x 1mV Maximum operating supply voltage: 1 x 10mV Max current average over 1 second: 7 x 1mA, ext = 0xc0, ext = 0x7 Power down supply current: 4.5 x 100mA Memory base: 7 Misc attr: (Wait) Tuple #10, code = 0x0 (Null tuple), length = 38 000: 47 2a 3d 14 85 01 26 47 26 57 80 04 cc 66 89 04 010: f0 f6 fa 0f 86 8b 04 47 04 74 8d 0b a8 74 53 04 020: 83 02 04 8d 92 e9 Tuple #11, code = 0x0 (Null tuple), length = 240 000: 74 c4 fc 8b 26 23 89 26 5e 66 8b 04 e4 80 04 26 010: 47 ff 04 6a eb f6 f0 74 66 76 53 50 83 06 b4 f6 020: f0 74 66 76 53 9e eb f6 f0 74 56 ff fc 10 eb f6 030: fa 74 c4 fc f7 06 00 34 5e f6 0c 74 8d 0d 24 3c 040: 1b 40 c1 02 5e 26 47 25 00 c9 31 04 31 06 5e 26 050: 4f 08 08 8d 92 ee 54 ec f7 ee c0 54 ee 80 8d 68 060: 8b 04 47 01 2b 5e 26 47 ff 21 f6 4e 74 06 e8 02 070: c4 c4 fc f6 4e 74 06 e8 05 c4 f6 ec 74 8a f4 ed 080: 04 ff 04 7c 83 04 46 24 50 76 e8 f4 c4 e9 fc c8 090: 00 56 46 00 fa 89 fc 5e 8b 04 e8 f4 c4 24 88 fe 0a0: 46 50 8a fe c9 55 ec 7e 00 07 ff 04 46 c9 c8 00 0b0: 57 c4 04 8b 89 fe 74 26 47 24 88 fd f7 06 00 19 0c0: 26 47 66 06 00 66 89 28 26 47 0e 00 b8 00 94 00 0d0: b8 00 94 00 b8 00 94 00 b8 00 94 00 c4 04 26 47 0e0: 66 08 00 66 8d a0 50 04 83 06 5e 66 ff 10 84 00 2 slots found Dave. -- ============================================================================ |David Gilbert, Velocet Communications. | Two things can only be | |Mail: dgilbert@velocet.net | equal if and only if they | |http://www.velocet.net/~dgilbert | are precisely opposite. | =========================================================GLO================ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14749.32590.386733.624002>