From owner-freebsd-isdn@FreeBSD.ORG Sun Sep 26 14:34:43 2004 Return-Path: Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D019216A4CE for ; Sun, 26 Sep 2004 14:34:43 +0000 (GMT) Received: from ni-mail2.dna.utvinternet.net (ni-mail2.dna.utvinternet.net [194.46.8.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D4C843D2D for ; Sun, 26 Sep 2004 14:34:43 +0000 (GMT) (envelope-from fergus@cobbled.net) Received: from eyore.public.cobbled.net (unverified [195.218.110.221]) by ni-mail2.dna.utvinternet.net ; Sun, 26 Sep 2004 15:34:40 +0100 Received: from eyore.public.cobbled.net (localhost [127.0.0.1]) i8QEYtEX039379; Sun, 26 Sep 2004 15:34:56 +0100 (BST) (envelope-from fergus@eyore.public.cobbled.net) Received: (from fergus@localhost)i8QEYt9v039378; Sun, 26 Sep 2004 15:34:55 +0100 (BST) (envelope-from fergus) Date: Sun, 26 Sep 2004 15:34:55 +0100 From: n0g0013 To: Juha-Matti Liukkonen Message-ID: <20040926143455.GA39167@eyore.cobbled.net> References: <20040926124720.GA39113@eyore.cobbled.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: cc: freebsd-isdn@freebsd.org Subject: Re: driver for usr 3409 pci ta X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Sep 2004 14:34:43 -0000 On 26.09-17:17, Juha-Matti Liukkonen wrote: [ ... ] > based on the chip id, your device should map to the generic Winbond > 6692 with iwic just fine. that's what i thought initially but since i was hacking the iwic driver at the time i checked the probe. it won't match any of the subdevices listed. which actually makes sense because this is, alledgedly a TA, so i should be able to write good old AT/ST commands. i'm suspicious of that however and have a feeling that the TA bit of this my be implemented in the windows driver (i.e. it's not a TA - just marketing shit and winbloat) leaving me to add a further identifier to the iwic driver to match the card and use i4b stuff as is. > In any case, if you want to make a driver for an ISDN chip in BSD, you > should probably take one of the existing i4b layer1 drivers as a base. > You must implement the i4b internal l1mux interface towards the stack, > which is quite different from anything "regular" drivers do. if this really is a TA then i won't have to do that. that's why i want to get the basic IO working to see if the card will respond to the AT/ST commands in the expected manner. if it doesn't then i'll need to go try hack the iwic driver and test that. > The bus probe/attach/intr functions are quite basic PCI stuff for them > too, though (usually split into _.c). ehm, ok. but that's not what i need to know. no offense. -- t t z