Changed things around port.h a bit:

- port_access_full is now called port_access_multiple and has a count parameter (LPT port stuff should be in lpt-port.h)
- Updated calling source files too
- Added support for ports in higher range, so that PCI LPT cards will work too (but I can't test this myself...)
- Enhanced formatting of in-file documentation a bit
- Updated docs of port.h in lcdproc-dev
This commit is contained in:
robijn
2003-04-04 22:53:16 +00:00
parent 82d355982c
commit c72f813a4c
8 changed files with 127 additions and 92 deletions
+1 -3
View File
@@ -90,9 +90,7 @@ hd_init_ext8bit (Driver *drvthis)
semid = sem_get ();
// Reserve the port registers
port_access(p->port);
port_access(p->port+1);
port_access(p->port+2);
port_access_multiple(p->port,3);
hd44780_functions->senddata = lcdtime_HD44780_senddata;
hd44780_functions->backlight = lcdtime_HD44780_backlight;