patch-2.4.0-test12 linux/drivers/nubus/nubus.c
Next file: linux/drivers/parport/ChangeLog
Previous file: linux/drivers/net/yellowfin.c
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Sun Dec 3 17:48:19 2000
- Orig file:
v2.4.0-test11/linux/drivers/nubus/nubus.c
- Orig date:
Thu Oct 28 14:34:46 1999
diff -u --recursive --new-file v2.4.0-test11/linux/drivers/nubus/nubus.c linux/drivers/nubus/nubus.c
@@ -27,8 +27,6 @@
extern void via_nubus_init(void);
extern void oss_nubus_init(void);
-extern int console_loglevel;
-
/* Constants */
/* This is, of course, the size in bytelanes, rather than the size in
@@ -967,8 +965,9 @@
int count, int *eof, void *data)
{
int nprinted, len, begin = 0;
- int slot;
-
+ int slot,size;
+ struct nubus_board* board;
+
len = sprintf(buf, "Nubus devices found:\n");
/* Walk the list of NuBus boards */
for (board = nubus_boards; board != NULL; board = board->next)
@@ -987,7 +986,7 @@
if (slot==16 || len+begin < off)
*eof = 1;
off -= begin;
- *strat = buf + off;
+ *start = buf + off;
len -= off;
if (len>count)
len = count;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)