From owner-freebsd-hardware Thu Jul 23 09:21:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA11701 for freebsd-hardware-outgoing; Thu, 23 Jul 1998 09:21:08 -0700 (PDT) (envelope-from owner-freebsd-hardware@FreeBSD.ORG) Received: from ece.arizona.edu (ece1.ece.arizona.edu [128.196.28.166]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id JAA11696 for ; Thu, 23 Jul 1998 09:21:06 -0700 (PDT) (envelope-from john@ece.arizona.edu) Received: from burdell.ece.arizona.edu by ece.arizona.edu (SMI-8.6/SMI-SVR4) id JAA28869; Thu, 23 Jul 1998 09:20:07 -0700 Received: by burdell.ece.arizona.edu (SMI-8.6/SMI-SVR4) id JAA10487; Thu, 23 Jul 1998 09:21:03 -0700 Date: Thu, 23 Jul 1998 09:21:03 -0700 From: john@ece.arizona.edu (John Galbraith) Message-Id: <199807231621.JAA10487@burdell.ece.arizona.edu> To: mike@smith.net.au CC: randal@comtest.com, dufault@hda.com, mike@smith.net.au, FreeBSD-hardware@FreeBSD.ORG, john@ece.arizona.edu In-reply-to: <199807230013.RAA02438@dingo.cdrom.com> (message from Mike Smith on Wed, 22 Jul 1998 17:13:40 -0700) Subject: Re: new GPIB driver Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>>>> "Mike" == Mike Smith writes: Mike> I don't like this at all (as I pointed out to Randal). GPIB Mike> is a bus, and it should be treated like one. The GBIB Mike> driver should provide GPIB I/O services to a set of Mike> peripheral drivers (consider SCSI as an example). ioctl() Mike> is not good for I/O. OK, I might take another shot at this. I do see your point. I will try using the lower 5 bits of the minor number as the GPIB address (with the 32 address being some sort of "global" control device?). Bits above that will encode the card. Any flaws with this idea? I am not very familiar with the SCSI driver. (I just got my first SCSI machine ever a month ago - I like it, too). But now that you mention it, I see that GPIB is set up the same way with the bus controller and then any of a multitude of possible devices can be hooked up to it. I think that the peripheral drivers should be implemented in userland, IMHO. Would there be any advantages to those being in the kernel? This is really great getting feedback from you guys - let me know any other suggestions or concerns you might have. John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message