1static void outb(unsigned char value, unsigned short port) 2{ 3 __builtin_outb(value, port); 4} 5 6static void pnp_write_config(void) 7{ 8 unsigned char port; 9 unsigned char value; 10 unsigned char reg; 11 port = 0x2e; 12 value = 0x03; 13 reg = 0x07; 14 outb(reg, port); 15 outb(value, port +1); 16 outb(value -1, port +2); 17} 18 19static void main(void) 20{ 21 pnp_write_config(); 22} 23

