From owner-freebsd-hackers Sun Dec 19 19:14: 8 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from lestat.nas.nasa.gov (lestat.nas.nasa.gov [129.99.33.127]) by hub.freebsd.org (Postfix) with ESMTP id D33F614C20 for ; Sun, 19 Dec 1999 19:14:06 -0800 (PST) (envelope-from thorpej@lestat.nas.nasa.gov) Received: from lestat (localhost [127.0.0.1]) by lestat.nas.nasa.gov (8.8.8/8.6.12) with ESMTP id TAA14692; Sun, 19 Dec 1999 19:13:37 -0800 (PST) Message-Id: <199912200313.TAA14692@lestat.nas.nasa.gov> To: Bill Paul Cc: julian@whistle.com (Julian Elischer), hackers@FreeBSD.ORG Subject: Re: USB ethernet hacking Reply-To: Jason Thorpe From: Jason Thorpe Date: Sun, 19 Dec 1999 19:13:36 -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 19 Dec 1999 17:18:37 -0500 (EST) Bill Paul wrote: > Because this is not an asynchronous task that I'm trying to do here. > I'm talking about reading and writing registers from the ethernet > controller. If this was a PCI device, I'd be using > bus_space_read_X()/bus_space_write_X() to read the registers directly. I > don't want to start reading a register and then come back a while later > to read the results. The code isn't meant to work like that. All this means is that you can't structure a USB Ethernet driver like a traditional directly-connected Ethernet driver. NetBSD supports a SCSI Ethernet adapter, and it works just fine (it's the only way for those PC532 owners to talk to Ethernet :-) -- Jason R. Thorpe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message