--- Gnu-Mach/linux/src/drivers/net/e2100.c 2020/09/02 04:41:40 1.1 +++ Gnu-Mach/linux/src/drivers/net/e2100.c 2020/09/02 04:53:23 1.1.1.3 @@ -68,7 +68,7 @@ static int e21_probe_list[] = {0x300, 0x #define E21_SAPROM 0x10 /* Offset to station address data. */ #define E21_IO_EXTENT 0x20 -extern inline void mem_on(short port, volatile char *mem_base, +static inline void mem_on(short port, volatile char *mem_base, unsigned char start_page ) { /* This is a little weird: set the shared memory window by doing a @@ -78,7 +78,7 @@ extern inline void mem_on(short port, vo outb(E21_MEM_ON, port + E21_MEM_ENABLE + E21_MEM_ON); } -extern inline void mem_off(short port) +static inline void mem_off(short port) { inb(port + E21_MEM_ENABLE); outb(0x00, port + E21_MEM_ENABLE); @@ -162,7 +162,7 @@ int e21_probe1(struct device *dev, int i outb(0, ioaddr + E21_ASIC); /* and disable the secondary interface. */ if (ei_debug && version_printed++ == 0) - printk(version); + printk("%s", version); /* We should have a "dev" from Space.c or the static module table. */ if (dev == NULL) {