Date: Sun, 11 Jan 1998 15:06:19 -0500 From: dmaddox@scsn.net (Donald J. Maddox) To: hackers@FreeBSD.ORG Subject: 16650 Support(?) Message-ID: <19980111150619.48677@scsn.net>
next in thread | raw e-mail | index | archive | help
I recently bought a 16C650-based LavaPort ISA card to support the 230,400 bps capability of my ISDN modem. It works fine under W95, but does _not_ work fine under FBSD-current. I am able to talk to the modem only if I set the port speed to 9600 bps. Any other speed fails to talk at all. I assume that 9600bps is the default speed of the chip, and the sio driver is failing to set the speed correctly. Looking at sio.c, it would appear that the driver is intended to work with 16650s, since there is a flag specifically intended for use with the 16650's larger FIFO (flags 0x20000). Am I missing a necessary step to make this thing work, or is there something non-standard about this card? Anybody else have any experience with the LavaPort ISA (aka LavaLink-650)? I am using the following line in my kernel config to configure the LavaPort: device sio2 at isa? port "IO_COM3" tty flags 0x20000 irq 12 vector siointr Below is the dmesg output: Copyright (c) 1992-1998 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-CURRENT #0: Sun Jan 11 13:44:04 EST 1998 root@rhiannon.scsn.net:/usr/src/sys/compile/RHIANNON CPU: Pentium (166.19-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping=12 Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8> real memory = 33554432 (32768K bytes) avail memory = 30547968 (29832K bytes) Probing for devices on PCI bus 0: chip0: <Intel 82439> rev 0x01 on pci0.0.0 chip1: <Intel 82371SB PCI to ISA bridge> rev 0x00 on pci0.7.0 ide_pci0: <Intel PIIX3 Bus-master IDE controller> rev 0x00 on pci0.7.1 ahc0: <Adaptec 2940 Ultra SCSI host adapter> rev 0x00 int a irq 10 on pci0.10.0 ahc0: aic7880 Wide Channel, SCSI Id=7, 16/255 SCBs scbus0 at ahc0 bus 0 ahc0: target 0 Tagged Queuing Device sd0 at scbus0 target 0 lun 0 sd0: <SEAGATE ST12550W 0002> type 0 fixed SCSI 2 sd0: Direct-Access 2040MB (4178874 512 byte sectors) sd0: with 2708 cyls, 19 heads, and an average 81 sectors/track ahc0: target 1 Tagged Queuing Device sd1 at scbus0 target 1 lun 0 sd1: <FUJITSU M2684S-512 2036> type 0 fixed SCSI 2 sd1: Direct-Access 507MB (1039329 512 byte sectors) sd1: with 2380 cyls, 6 heads, and an average 72 sectors/track cd0 at scbus0 target 2 lun 0 cd0: <MATSHITA CD-ROM CR-508 XS03> type 5 removable SCSI 2 cd0: CD-ROM cd present [19371 x 2048 byte records] vga0: <S3 968 graphics accelerator> rev 0x00 int a irq 11 on pci0.12.0 Probing for PnP devices: CSN 1 Vendor ID: CTL009e [0x9e008c0e] Serial 0x09f665ec Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A sio2 at 0x3e8-0x3ef irq 12 flags 0x20000 on isa sio2: type ST16650A sio3 at 0x2e8-0x2ef irq 9 on isa sio3: type 16550A pca0 on motherboard pca0: PC speaker audio driver wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa wdc0: unit 0 (wd0): <Maxtor 71336 AP>, DMA, 32-bit, multi-block-32 wd0: 1277MB (2615760 sectors), 2595 cyls, 16 heads, 63 S/T, 512 B/S fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in npx0 on motherboard npx0: INT 16 interface sb0 at 0x220 irq 5 drq 1 on isa snd0: <SoundBlaster 16 4.16> sbxvi0 at ? drq 5 on isa snd0: <SoundBlaster 16 4.16> sbmidi0 at 0x330 on isa snd0: <SoundBlaster MPU-401> opl0 at 0x388 on isa snd0: <Yamaha OPL3 FM> awe0 at 0x620 on isa AWE32 not found AWE32: not detected joy0 at 0x201 on isa joy0: joystick Intel Pentium F00F detected, installing workaround ccd0-3: Concatenated disk drivers (The 'AWE32 not found' stuff is just because I have not yet booted this kernel with -c and configured the PnP stuff)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980111150619.48677>