From owner-freebsd-questions Thu Mar 21 8: 3:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailout08.sul.t-online.com (mailout08.sul.t-online.com [194.25.134.20]) by hub.freebsd.org (Postfix) with ESMTP id B685A37B417 for ; Thu, 21 Mar 2002 08:03:17 -0800 (PST) Received: from fwd11.sul.t-online.de by mailout08.sul.t-online.com with smtp id 16o523-0001rx-02; Thu, 21 Mar 2002 17:03:15 +0100 Received: from webmail.t-online.de (060315032-0001@[172.18.16.206]) by fwd11.bbul.t-online.de with smtp id 16o51u-0l5lIWC; Thu, 21 Mar 2002 17:03:06 +0100 To: FreeBSD Questions Mailing List Subject: Revisited: PCI parallel port adapters From: Volker.Wiegand@t-online.de (Volker Wiegand) Cc: heinrich.hiemesch@online.de, matthew@starbreaker.net Reply-To: volker.wiegand@t-online.de Date: Thu, 21 Mar 2002 17:02:48 +0100 (CET) Message-ID: <1016726249.3c9a02e98beb3@webmail.t-online.de> X-Priority: 3 (Normal) X-Approved: 452981a42fcbe0a72f8492cff23394e770fb4562e56ca804deee1fe3f0d0826d X-Mailer: T-Online WebMail 2.03 X-Complaints-To: abuse#webmail@t-online.com X-Sender: 060315032-0001@t-dialin.net Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I have recently purchased a low cost PCI parallel port adapter. Since it was advertised as "Linux compatible" I assumed it would also run under FreeBSD. Stupid me :-) And looking into the FreeBSD-Question archives, I found that I am not the only one. So here is the current state of my "investigation" - maybe it helps to understand and to fix. We all seem to have a NetMos based card; they are obviously a major supplier. Vendor ID is 0x9710; device ID 0x9805 is a common one (see http://www.netmos.com/Nm9805.pdf for the data sheet of the respective device). From what I understand looking at the FreeBSD sources, there is currently a silent assumption that all "ppc" devices (which would be the basic hardware driver layer) are ISA based. And since FreeBSD is based on a "bus oriented hardware architecture" as opposed to the "simple device addresses" used in Linux (this is my wording, please don't flame me :-) these cards work under Linux, but not (yet) under FreeBSD. Well, they would work, but they are not "found". IMHO, the solution should be to migrate the sys/isa/ppc.c driver code into a sys/dev/ppc/ subdirectory (I suspect that the "sio" serial port driver has made a similar metamorphosis when going PCI) and split it up into common and bus oriented parts. It might even be reasonable to include their serial ports also while we are at it, by the way. Now, I don't know who is the right person to suggest this to? Maintainer, are you online? :-))) Am I on the right track? Is somebody already working on this? If not, how can I find out whether the maintainer would consider doing it or accepting a patch (I believe I would be able to provide that patch, but only if I am not stepping on anyone's toes :-) Kind regards (this is my very first FreeBSD posting :-) Volker To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message