From: Kris K. <kr...@ca...> - 2002-05-01 22:51:53
|
On Tue, 30 Apr 2002, Karl Bongers wrote: > Actually LIRC does it "The Right Way"(tm), by having a proper > hardware driver. LIRC also works with the stock serial > driver with various "smart" hardware. hrm. I looked. lirc-0.6.5/drivers/lirc_serial/lirc_serial.c, line 337-351 (for example): static inline unsigned int sinp(int offset) { return inb(io + offset); } static inline void soutp(int offset, int value) { outb(value, io + offset); } void on(void) { soutp(UART_MCR,hardware[type].on); } --- Nope, not much has changed. I used to write MS-DOS programs like this. Then I learned better. > So will you be helping to compile LIRC under FreeBSD? Yeah, eventually. Heck, I might even write a driver of sorts, if I get the time -- but I'm working on jumping jobs right now and my time it at a premium. -- Kris Kirby, KE4AHR | TGIFreeBSD... 'Nuff said. <kr...@no...> | IM: KrisBSD | HSV, AL. ------------------------------------------------------- "Fate, it seems, is not without a sense of irony." |