From owner-freebsd-current@FreeBSD.ORG Wed Apr 5 14:03:04 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D19F116A420; Wed, 5 Apr 2006 14:03:04 +0000 (UTC) (envelope-from bln@deprese.net) Received: from hades.deprese.net (hades.deprese.net [81.2.209.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E67243D77; Wed, 5 Apr 2006 14:03:04 +0000 (GMT) (envelope-from bln@deprese.net) Received: from [147.32.98.167] (traveler.hk.cvut.cz [147.32.98.167]) by hades.deprese.net (Postfix) with ESMTP id B287433C1F; Wed, 5 Apr 2006 16:03:02 +0200 (CEST) Message-ID: <4433CE0E.7000809@deprese.net> Date: Wed, 05 Apr 2006 16:02:54 +0200 From: Ondra Holecek User-Agent: Thunderbird 1.5 (X11/20060213) MIME-Version: 1.0 To: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: sunix rs-232 pcmcia card X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Apr 2006 14:03:04 -0000 hello, i have this pcmcia card with two rs-232 connectors - http://www.sunix.com.tw/ipc/sunix_en/detail.php?class_a=16&prod_id=57#spec it is sunix CBS2000X with Oxford CF950 UART (16C950 compatible) host controller. but it doesn't seem to work with fbsd, i have added this record do pucdata.c { "Sunix CBS2000X", { 0x1409, 0x7168, 0, 0 }, { 0xffff, 0xffff, 0, 0 }, { { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ }, { PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ }, }, }, using also this instead of COM_FREQ COM_FREQ * 8 33000000 / 2 but the only result is that system shows that ports as sio4 and sio5, but when i try to open these device the system freeze and must be restarted. the same result with editing sio_pci.c does anybody else use it? i'm prepared to provide any additional information. -- after inserting card into slot: cardbus0: Resource not specified in CIS: id=10, size=20 puc0: port 0x1000-0x101f irq 10 at device 0.0 on cardbus0 sio4: on puc0 sio4: type 16550A sio4: unable to activate interrupt in fast mode - using normal mode sio5: on puc0 sio5: type 16550A sio5: unable to activate interrupt in fast mode - using normal mode thx in advance Ondra Holecek