diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2001-01-10 05:27:25 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2001-01-10 05:27:25 +0000 |
commit | c9c06167e7933d93a6e396174c68abf242294abb (patch) | |
tree | d9a8bb30663e9a3405a1ef37ffb62bc14b9f019f /drivers/nubus | |
parent | f79e8cc3c34e4192a3e5ef4cc9c6542fdef703c0 (diff) |
Merge with Linux 2.4.0-test12.
Diffstat (limited to 'drivers/nubus')
-rw-r--r-- | drivers/nubus/nubus.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/nubus/nubus.c b/drivers/nubus/nubus.c index 47b3d88fe..b07d83358 100644 --- a/drivers/nubus/nubus.c +++ b/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 @@ static int nubus_read_proc(char *buf, char **start, off_t off, 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 @@ static int nubus_read_proc(char *buf, char **start, off_t off, if (slot==16 || len+begin < off) *eof = 1; off -= begin; - *strat = buf + off; + *start = buf + off; len -= off; if (len>count) len = count; |