Author: rminnich Date: 2006-10-13 21:58:52 +0200 (Fri, 13 Oct 2006) New Revision: 2453
Modified: trunk/LinuxBIOSv2/src/mainboard/sunw/ultra40/failover.c Log: change things that make no sense on ultra40. serial output now works! Signed-off-by: Ronald G. Minnich
Modified: trunk/LinuxBIOSv2/src/mainboard/sunw/ultra40/failover.c =================================================================== --- trunk/LinuxBIOSv2/src/mainboard/sunw/ultra40/failover.c 2006-10-12 00:58:20 UTC (rev 2452) +++ trunk/LinuxBIOSv2/src/mainboard/sunw/ultra40/failover.c 2006-10-13 19:58:52 UTC (rev 2453) @@ -23,6 +23,10 @@
#define SUPERIO_GPIO_IO_BASE 0x400
+#define SUPERIO_COM1_DEV PNP_DEV(0x2e, LPC47B397_SP1) + +#define SUPERIO_COM1_IO_BASE 0x3f8 + static void sio_setup(void) {
@@ -41,12 +45,16 @@ pci_write_config32(PCI_DEV(0, CK804_DEVN_BASE+1 , 0), 0xa0, dword);
#if 1 - lpc47b397_enable_serial(SUPERIO_GPIO_DEV, SUPERIO_GPIO_IO_BASE); + lpc47b397_enable_serial(SUPERIO_COM1_DEV, SUPERIO_COM1_IO_BASE);
+#if 0 +/* what's this? value = lpc47b397_gpio_offset_in(SUPERIO_GPIO_IO_BASE, 0x77); value &= 0xbf; lpc47b397_gpio_offset_out(SUPERIO_GPIO_IO_BASE, 0x77, value); +*/ #endif +#endif
}