Meaning no offense, but I can't think of a single good reason to write a 
device driver for one of these cards.  (Unless you're trying to do 
pattern generation, and an 8255 is a terrible choice for that.)  Worse 
than that though, there's _no_ standard for these cards' implementation, 
so a driver isn't going to be even vageuly portable.

Use i386_set_ioperm() and just bit-bash it in userspace.

> I am just about finished with a device driver for PCI DIO boards based
> around the 8C255 (number may be wrong ;).  Specifically this is for the
> ComputerBoards DIO-24H DIO board.  I have been using the 'development' major
> #, and I am ready to go about getting it committed into the CVS tree for
> whoever else may find it of use.
> 
> Currently the system is used in conjunction with a home-brew card-access
> system, but future could include robotics and related fields.

-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  [EMAIL PROTECTED]
\\ and he'll hate you for a lifetime.             \\  [EMAIL PROTECTED]




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to