Subject: Stallion driver
To: None <email@example.com>
From: Martin J. Laubach <firstname.lastname@example.org>
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