freebsd-ports/sysutils/lcdproc/files/patch-port
Roger Hardiman 97ac63c075 Enable building of all hardware drivers and fix a bug with outb.
My HD44780 based 16x2 display (in 4 bit mode) now works.
2003-02-25 20:46:55 +00:00

19 lines
590 B
Text

*** server/drivers/port.h.orig Tue Feb 25 20:34:39 2003
--- server/drivers/port.h Tue Feb 25 20:34:56 2003
*************** static inline int port_in (unsigned shor
*** 141,147 ****
// Write a byte 'val' to port
static inline void port_out (unsigned short int port, unsigned char val) {
! outb(val,port);
}
// Get access to a specific port
--- 141,147 ----
// Write a byte 'val' to port
static inline void port_out (unsigned short int port, unsigned char val) {
! outb(port,val);
}
// Get access to a specific port