Subject: Stallion driver
To: None <firstname.lastname@example.org>
From: Martin J. Laubach <email@example.com>
Date: 03/02/2001 13:59:07
I got a stallion multi-port serial card, and am looking
into getting a driver for it into shape. While pondering over
the FreeBSD driver for the card, I noticed that
(a) My god, it's full of inb()!
(b) It's actually at least three drivers for very different
boards in one.
What is the best way to deal with that? Add #ifdefs in lots of
places, #define INB() bus_space_read(), or throw the whole thing
away and write a new driver with the FreeBSD thing as reference