From owner-freebsd-current@FreeBSD.ORG Fri Jun 6 12:59:50 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BADF1065671 for ; Fri, 6 Jun 2008 12:59:50 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 66B508FC16 for ; Fri, 6 Jun 2008 12:59:50 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m56CxhtQ091691; Fri, 6 Jun 2008 08:59:43 -0400 (EDT) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.8/8.13.3) with ESMTP id m56CxhdR045603 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 6 Jun 2008 08:59:43 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <200806061259.m56CxhdR045603@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Fri, 06 Jun 2008 08:59:35 -0400 To: Marcel Moolenaar From: Mike Tancsa Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: freebsd-current@freebsd.org Subject: PUC rewrite 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: Fri, 06 Jun 2008 12:59:50 -0000 I have been starting to take a look at moving some of our embedded platforms to RELENG_7 and noticed that support for the 3Com PCI cards are broken. Previously, in pucdata.c, they were defined as /* US Robotics (3Com) PCI Modems */ { "US Robotics (3Com) 3CP5609 PCI 16550 Modem", { 0x12b9, 0x1008, 0, 0 }, { 0xffff, 0xffff, 0, 0 }, { { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ }, }, }, However, in the newer version they are not there, and uart is not picking up the device. In the new re-write, what is the proper way to add support for devices no longer recognized ? On RELENG_6, its seen as puc0@pci0:14:0: class=0x070002 card=0x00d312b9 chip=0x100812b9 rev=0x01 hdr=0x00 vendor = '3COM Corp, Modem Division (Formerly US Robotics)' device = 'USR5610B USR5610B (0005610-02) 56K Performance Pro Modem (PCI Internal)' class = simple comms subclass = UART ---Mike -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike