[Bug 201741] Console: entry in install.inf missing
https://bugzilla.novell.com/show_bug.cgi?id=201741 ------- Comment #3 from olh@novell.com 2006-09-15 05:28 MST ------- ARGH! diff -purNbBw hwinfo-12.34/src/hd/kbd.c hwinfo-13.3/src/hd/kbd.c --- hwinfo-12.34/src/hd/kbd.c 2006-05-18 14:58:28.000000000 +0200 +++ hwinfo-13.3/src/hd/kbd.c 2006-08-29 16:15:38.000000000 +0200 @@ -11,6 +11,14 @@ #include <sys/ioctl.h> #include <linux/serial.h> +/** + * @defgroup KDBint Keyboard devices + * @ingroup libhdDEVint + * @brief Keyboard device functions + * + * @{ + */ + #ifdef __sparc__ struct serial_struct { @@ -134,12 +142,13 @@ void add_serial_console(hd_data_t *hd_da } if(!dev && (fd = open(DEV_CONSOLE, O_RDWR | O_NONBLOCK | O_NOCTTY)) >= 0) { +/* if(ioctl(fd, TIOCGDEV, &u) != -1) { tty_major = (u >> 8) & 0xfff; tty_minor = (u & 0xff) | ((u >> 12) & 0xfff00); ADD2LOG(DEV_CONSOLE ": major %u, minor %u\n", tty_major, tty_minor); } - +*/ if(tty_major == 229 /* iseries hvc */) { if (tty_minor >= 128) { str_printf(&dev, 0, "hvsi%u", tty_minor-128); @@ -301,4 +310,5 @@ void add_sun_console(hd_data_t *hd_data) #endif /* __sparc__ */ +/** @} */ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com