From owner-freebsd-firewire@FreeBSD.ORG Fri Dec 3 01:48:01 2004 Return-Path: Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE0D416A4CE for ; Fri, 3 Dec 2004 01:48:00 +0000 (GMT) Received: from pd2mo3so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id C222043D49 for ; Fri, 3 Dec 2004 01:48:00 +0000 (GMT) (envelope-from howard@digitalanvil.ca) Received: from pd2mr7so.prod.shaw.ca (pd2mr7so-qfe3.prod.shaw.ca [10.0.141.10])2004))freebsd-firewire@freebsd.org; Thu, 02 Dec 2004 18:48:00 -0700 (MST) Received: from pn2ml3so.prod.shaw.ca ([10.0.121.147]) by pd2mr7so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0I8400DYJIC01OI0@pd2mr7so.prod.shaw.ca> for freebsd-firewire@freebsd.org; Thu, 02 Dec 2004 18:48:00 -0700 (MST) Received: from cerberus.digitalanvil.ca ([68.146.84.251])2003)) freebsd-firewire@freebsd.org; Thu, 02 Dec 2004 18:48:00 -0700 (MST) Received: from [192.168.200.3] (lhasa [192.168.200.3]) by cerberus.digitalanvil.ca (Postfix) with ESMTP id 4FF024519B for ; Thu, 02 Dec 2004 18:48:00 -0700 (MST) Date: Thu, 02 Dec 2004 18:48:00 -0700 From: Howard Harvey To: freebsd-firewire@freebsd.org Message-id: <41AFC5D0.5000309@digitalanvil.ca> Organization: Digital Anvil MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) Subject: Possible driver tweak. X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: howard.harvey@digitalanvil.ca List-Id: Firewire support in FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Dec 2004 01:48:01 -0000 I've got this little Shuttle box here and the following is seen at boot time: pci0: at device 29.7 (no driver attached) I figured it has to be a firewire device, since all the other normal USB bits seem to get found quite all right. Spelunking thru 'pciconf -lv' shows the following: none0@pci0:29:7: class=0x0c0320 card=0xfb521297 chip=0x24cd8086 \ rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) \ USB EHCI Controller' class = serial bus subclass = USB Low 16 bits of 'chip' match FW_VENDORID_INTEL pretty closely. At the risk of doing something _monumentally_ stupid, is it merely a question of cramming in something like: #define FW_DEVICE_INTEL82801DB (0x24cd << 16) into fwohcireg.h at line 57 and then stuff if (id == (FW_VENDORID_INTEL | FW_DEVICE_INTEL82801DB)) { device_set_desc(dev, "Intel 82801DB"); return 0; } int fwohci_pci.c at about line 203 Or am I deluding myself? If thoroughly delusional, where (fuzzily) would the next chunk of device support need to get bolted in?