Date: Thu, 15 Jul 1999 15:18:05 +0200 From: Eric MASSON <e-masson@kisoft-services.com> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: 3CCFEM556BI, pccard sio setup. Message-ID: <378DDF8D.33F2D4FD@kisoft-services.com>
next in thread | raw e-mail | index | archive | help
Hello everyone here, Today is the return of the son of the revenge of the 3CCFEM556BI :). I'm trying to use the V90 modem function of this card (It is a pccard, not a cardbus). Driver for NIC function needs to make a port of a linux existing driver and I miss knowledge to succeed in this task. Back to current problem, I tried two ways to make it work : - 1 : enable a sio2 line in kernel and use the following pccard.conf # PCCARD configuration file # # # $Id: pccard.conf,v 1.0 1999/07/04 21:36:00 emss # Generally available IO ports io 0x240-0x360 # Generally available IRQs (Built-in sound-card owners remove 5) irq 10 11 13 # Available memory slots memory 0xd4000 96k # 3Com/Megahertz 3CCFEM556BI card "3Com" "Megahertz 3CCFEM556BI" config 0x1 "sio2" 10 insert echo 3Com/Megahertz 3CCFEM556BI inserted remove echo 3Com/Megahertz 3CCFEM556BI removed pccardd allocates driver sio and sio says "sio2: 8250", weird cause WNT can link to this card at 115200 bps that sounds more like a 16550 uart. When i start ppp in manual mode, i do set device = /dev/cuaa2 then term. At this point the whole machine hangs, the only way to stop it is power off. - 2 : do not enable sio2 in kernel configuration and using the same pccard.conf as before. In this case I do get the following /kernel: PC-Card VLSI 82C146 (5 mem & 2 I/O windows) /kernel: pcic: controller irq 9 /kernel: Initializing PC-card drivers: sio /kernel: Card inserted, slot 0 /kernel: NULL com in siounload /kernel: Return IRQ=10 pccardd[62]: driver allocation failed for 3Com pccardd[62]: pccardd started The dumpcis of this card is : Code 128 not found Code 128 not found code Unknown ignored Code 131 not found Code 131 not found code Unknown ignored Configuration data for card in slot 0 Tuple #1, code = 0x1 (Common memory descriptor), length = 2 000: 00 ff Common memory device information: Device number 1, type No device, WPS = OFF Speed = No speed, Memory block size = reserved, 32 units Tuple #2, code = 0x17 (Attribute memory descriptor), length = 3 000: 43 02 ff Attribute memory device information: Device number 1, type EEPROM, WPS = OFF Speed = 150nS, Memory block size = 8Kb, 1 units Tuple #3, code = 0x20 (Manufacturer ID), length = 4 000: 01 01 56 05 PCMCIA ID = 0x101, OEM ID = 0x556 Tuple #4, code = 0x21 (Functional ID), length = 2 000: 06 00 Network/LAN adapter Tuple #5, code = 0x15 (Version 1 info), length = 36 000: 04 01 33 43 6f 6d 00 4d 65 67 61 68 65 72 74 7a 010: 20 33 43 43 46 45 4d 35 35 36 42 49 00 41 00 30 020: 30 31 00 ff Version = 4.1, Manuf = [3Com],card vers = [Megahertz 3CCFEM556BI] Addit. info = [A],[001] Tuple #6, code = 0x1a (Configuration map), length = 5 000: 01 03 00 10 3f Reg len = 2, config register addr = 0x1000, last config = 0x3 Registers: XXXXXX-- Tuple #7, code = 0x1b (Configuration entry), length = 15 000: c1 01 1d 71 55 35 55 54 e0 72 5d 65 30 ff ff Config index = 0x1(default) Interface byte = 0x1 (I/O) Vcc pwr: Nominal operating supply voltage: 5 x 1V Max current average over 1 second: 3 x 10mA Max current average over 10 ms: 5 x 10mA Power down supply current: 5 x 1mA Wait scale Speed = 7.0 x 100 ns RDY/BSY scale Speed = 7.0 x 100 ns Card decodes 18 address lines, full 8/16 Bit I/O IRQ modes: Level, Pulse IRQs: IOCK 1 4 5 6 8 10 11 12 14 Tuple #8, code = 0x19 (JEDEC descr for attribute memory), length = 3 000: 00 00 ff Tuple #9, code = 0x14 (No link), length = 0 Tuple #10, code = 0x0 (Null tuple), length = 10 000: 02 01 3a 00 af 03 00 00 00 ff Tuple #11, code = 0x0 (Null tuple), length = 14 000: 30 30 30 30 30 30 30 30 30 30 30 30 00 ff Tuple #12, code = 0x10 (Checksum), length = 5 000: 8c ff 7d 00 00 Checksum from offset -116, length 125, value is 0x0 Tuple #13, code = 0xff (Terminator), length = 30 000: 7d ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 010: ff ff ff ff ff ff ff ff ff ff ff ff ff ff 2 slots found The kernel configuration is : #------------------------------------------------------------------------------ # THINKPAD -- Thinkpad 390 avec disque IDE #------------------------------------------------------------------------------ # Cree le 12/05/1999 # machine "i386" cpu "I686_CPU" ident THINKPAD maxusers 32 options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options NFS_NOSERVER #Disable the NFS server code options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] options UCONSOLE #Allow users to grab the console options FAILSAFE #Be conservative options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor config kernel root on wd0 controller isa0 controller pci0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 disk fd0 at fdc0 drive 0 controller wdc0 at isa? port "IO_WD1" bio irq 14 disk wd0 at wdc0 drive 0 controller wdc1 at isa? port "IO_WD2" bio irq 15 options ATAPI #Enable ATAPI support for IDE bus options ATAPI_STATIC #Don't do it as an LKM device acd0 #IDE CD-ROM controller atkbdc0 at isa? port IO_KBD tty device atkbd0 at isa? tty irq 1 device psm0 at isa? tty irq 12 device vga0 at isa? port ? conflicts pseudo-device ether pseudo-device bpfilter 1 pseudo-device splash device sc0 at isa? tty device npx0 at isa? port IO_NPX irq 13 device apm0 at isa? disable flags 0x31 # Advanced Power Management device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr device sio1 at isa? port "IO_COM2" tty irq 3 #device sio2 at isa? port? tty # enabled or not as explained before device ppc0 at isa? port? net irq 7 controller ppbus0 device nlpt0 at ppbus? pseudo-device loop pseudo-device tun 1 pseudo-device pty 16 pseudo-device gzip # Exec gzipped a.out's options SYSVSHM options SYSVSEM options SYSVMSG device pcm0 at isa? port 0x530 irq 5 drq 1 flags 0x11 controller card0 device pcic0 at card? device pcic1 at card? options PCIC_RESUME_RESET options POWERFAIL_NMI # make it beep instead of panicing So, what's wrong with my configuration ? TIA Eric MASSON Ps : I'm running FreeBSD 3.2-STABLE #0: Wed Jul 14 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?378DDF8D.33F2D4FD>