[LinuxBIOS] Success.

Uwe Hermann uwe at hermann-uwe.de
Fri Aug 11 19:32:54 CEST 2006


Hi,

On Sun, Aug 06, 2006 at 09:52:15PM +0200, Uwe Hermann wrote:
> Btw, is the following snippet needed in chip.h?
> 
> #ifndef SIO_COM1
> #define SIO_COM1_BASE   0x3F8
> #endif
> #ifndef SIO_COM2
> #define SIO_COM2_BASE   0x2F8
> #endif

Responding to myself, here's a bold patch to remove all of them.
I don't see them used anywhere, but I might be wrong.


Uwe.
-- 
Uwe Hermann 
http://www.hermann-uwe.de
http://www.it-services-uh.de  | http://www.crazy-hacks.org 
http://www.holsham-traders.de | http://www.unmaintained-free-software.org
-------------- next part --------------
Index: winbond/w83627thf/chip.h
===================================================================
--- winbond/w83627thf/chip.h	(Revision 2374)
+++ winbond/w83627thf/chip.h	(Arbeitskopie)
@@ -1,10 +1,3 @@
-#ifndef SIO_COM1
-#define SIO_COM1_BASE   0x3F8
-#endif
-#ifndef SIO_COM2
-#define SIO_COM2_BASE   0x2F8
-#endif
-
 extern struct chip_operations superio_winbond_w83627thf_ops;
 
 #include <pc80/keyboard.h>
Index: winbond/w83977tf/chip.h
===================================================================
--- winbond/w83977tf/chip.h	(Revision 2374)
+++ winbond/w83977tf/chip.h	(Arbeitskopie)
@@ -1,10 +1,3 @@
-#ifndef SIO_COM1
-#define SIO_COM1_BASE   0x3F8
-#endif
-#ifndef SIO_COM2
-#define SIO_COM2_BASE   0x2F8
-#endif
-
 extern struct chip_operations superio_winbond_w83977tf_ops;
 
 #include <pc80/keyboard.h>
Index: winbond/w83627hf/chip.h
===================================================================
--- winbond/w83627hf/chip.h	(Revision 2374)
+++ winbond/w83627hf/chip.h	(Arbeitskopie)
@@ -1,10 +1,3 @@
-#ifndef SIO_COM1
-#define SIO_COM1_BASE   0x3F8
-#endif
-#ifndef SIO_COM2
-#define SIO_COM2_BASE   0x2F8
-#endif
-
 extern struct chip_operations superio_winbond_w83627hf_ops;
 
 #include <pc80/keyboard.h>
Index: NSC/pc87366/chip.h
===================================================================
--- NSC/pc87366/chip.h	(Revision 2374)
+++ NSC/pc87366/chip.h	(Arbeitskopie)
@@ -1,10 +1,3 @@
-#ifndef SIO_COM1
-#define SIO_COM1_BASE   0x3F8
-#endif
-#ifndef SIO_COM2
-#define SIO_COM2_BASE   0x2F8
-#endif
-
 extern struct chip_operations superio_NSC_pc87366_ops;
 
 #include <pc80/keyboard.h>
Index: NSC/pc8374/chip.h
===================================================================
--- NSC/pc8374/chip.h	(Revision 2374)
+++ NSC/pc8374/chip.h	(Arbeitskopie)
@@ -1,10 +1,3 @@
-#ifndef SIO_COM1
-#define SIO_COM1_BASE   0x3F8
-#endif
-#ifndef SIO_COM2
-#define SIO_COM2_BASE   0x2F8
-#endif
-
 struct chip_operations;
 extern struct chip_operations superio_NSC_pc8374_ops;
 
Index: NSC/pc87360/chip.h
===================================================================
--- NSC/pc87360/chip.h	(Revision 2374)
+++ NSC/pc87360/chip.h	(Arbeitskopie)
@@ -1,10 +1,3 @@
-#ifndef SIO_COM1
-#define SIO_COM1_BASE   0x3F8
-#endif
-#ifndef SIO_COM2
-#define SIO_COM2_BASE   0x2F8
-#endif
-
 struct chip_operations;
 extern struct chip_operations superio_NSC_pc87360_ops;
 
Index: NSC/pc87351/chip.h
===================================================================
--- NSC/pc87351/chip.h	(Revision 2374)
+++ NSC/pc87351/chip.h	(Arbeitskopie)
@@ -1,10 +1,3 @@
-#ifndef SIO_COM1
-#define SIO_COM1_BASE   0x3F8
-#endif
-#ifndef SIO_COM2
-#define SIO_COM2_BASE   0x2F8
-#endif
-
 struct chip_operations;
 extern struct chip_operations superio_NSC_pc87351_ops;
 
Index: NSC/pc97307/chip.h
===================================================================
--- NSC/pc97307/chip.h	(Revision 2374)
+++ NSC/pc97307/chip.h	(Arbeitskopie)
@@ -7,12 +7,6 @@
 #ifndef PNP_DATA_REG
 #define PNP_DATA_REG    0x15D
 #endif
-#ifndef SIO_COM1
-#define SIO_COM1_BASE   0x3F8
-#endif
-#ifndef SIO_COM2
-#define SIO_COM2_BASE   0x2F8
-#endif
 
 extern struct chip_operations superio_NSC_pc97307_ops;
 
Index: NSC/pc87417/chip.h
===================================================================
--- NSC/pc87417/chip.h	(Revision 2374)
+++ NSC/pc87417/chip.h	(Arbeitskopie)
@@ -1,10 +1,3 @@
-#ifndef SIO_COM1
-#define SIO_COM1_BASE   0x3F8
-#endif
-#ifndef SIO_COM2
-#define SIO_COM2_BASE   0x2F8
-#endif
-
 extern struct chip_operations superio_NSC_pc87417_ops;
 
 #include <pc80/keyboard.h>
Index: NSC/pc97317/chip.h
===================================================================
--- NSC/pc97317/chip.h	(Revision 2374)
+++ NSC/pc97317/chip.h	(Arbeitskopie)
@@ -7,12 +7,6 @@
 #ifndef PNP_DATA_REG
 #define PNP_DATA_REG    0x15D
 #endif
-#ifndef SIO_COM1
-#define SIO_COM1_BASE   0x3F8
-#endif
-#ifndef SIO_COM2
-#define SIO_COM2_BASE   0x2F8
-#endif
 
 extern struct chip_operations superio_NSC_pc97317_ops;
 
Index: NSC/pc87427/chip.h
===================================================================
--- NSC/pc87427/chip.h	(Revision 2374)
+++ NSC/pc87427/chip.h	(Arbeitskopie)
@@ -1,10 +1,3 @@
-#ifndef SIO_COM1
-#define SIO_COM1_BASE   0x3F8
-#endif
-#ifndef SIO_COM2
-#define SIO_COM2_BASE   0x2F8
-#endif
-
 extern struct chip_operations superio_NSC_pc87427_ops;
 
 #include <pc80/keyboard.h>
Index: smsc/lpc47n217/chip.h
===================================================================
--- smsc/lpc47n217/chip.h	(Revision 2374)
+++ smsc/lpc47n217/chip.h	(Arbeitskopie)
@@ -1,10 +1,3 @@
-#ifndef SIO_COM1
-#define SIO_COM1_BASE   0x3F8
-#endif
-#ifndef SIO_COM2
-#define SIO_COM2_BASE   0x2F8
-#endif
-
 struct chip_operations;
 extern struct chip_operations superio_smsc_lpc47n217_ops;
 
Index: smsc/lpc47b272/chip.h
===================================================================
--- smsc/lpc47b272/chip.h	(Revision 2374)
+++ smsc/lpc47b272/chip.h	(Arbeitskopie)
@@ -1,10 +1,3 @@
-#ifndef SIO_COM1
-#define SIO_COM1_BASE   0x3F8
-#endif
-#ifndef SIO_COM2
-#define SIO_COM2_BASE   0x2F8
-#endif
-
 struct chip_operations;
 extern struct chip_operations superio_smsc_lpc47b272_ops;
 
Index: smsc/lpc47b397/chip.h
===================================================================
--- smsc/lpc47b397/chip.h	(Revision 2374)
+++ smsc/lpc47b397/chip.h	(Arbeitskopie)
@@ -1,10 +1,3 @@
-#ifndef SIO_COM1
-#define SIO_COM1_BASE   0x3F8
-#endif
-#ifndef SIO_COM2
-#define SIO_COM2_BASE   0x2F8
-#endif
-
 struct chip_operations;
 extern struct chip_operations superio_smsc_lpc47b397_ops;
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20060811/01b900c0/attachment.sig>


More information about the coreboot mailing list