linux-mips-fnet
[Top] [All Lists]

Diff for fix for drivers/tc/tc.c

To: linux-mips@fnet.fr
Subject: Diff for fix for drivers/tc/tc.c
From: Thomas Riemer <triemer@apt4g.a3nyc.com>
Date: Tue, 25 Aug 1998 22:18:50 -0400 (EDT)
Here are diffs for drivers/tc/tc.c - this fixes the kernel paging
fault that I saw earlier today.

-Tom Riemer
------------------------------------------------------------------------
102c102,103
<       tc_clock = 10000 / info->clk_period;
---
>       if (info)
>               tc_clock = 10000 / info->clk_period;
104c105
<       if (TURBOCHANNEL && info->slot_size && slot0addr) {
---
>       if (TURBOCHANNEL && info && info->slot_size && slot0addr) {



<Prev in Thread] Current Thread [Next in Thread>
  • Diff for fix for drivers/tc/tc.c, Thomas Riemer <=