version 1.20, 1994/03/12 03:34:04 |
version 1.21, 1994/03/12 04:10:11 |
Line 456 ahb_attach(struct isa_device *dev) |
|
Line 456 ahb_attach(struct isa_device *dev) |
|
{ |
{ |
static int firsttime; |
static int firsttime; |
static int firstswitch[NAHB]; |
static int firstswitch[NAHB]; |
int masunit = dev->id_parent->id_unit; |
int masunit; |
int r; |
int r; |
|
|
if (!dev->id_parent) |
if (!dev->id_parent) |
return 1; |
return 1; |
|
masunit = dev->id_parent->id_unit; |
|
|
if (!firstswitch[masunit]) { |
if (!firstswitch[masunit]) { |
firstswitch[masunit] = 1; |
firstswitch[masunit] = 1; |