diff options
Diffstat (limited to 'sys/dev/ida/ida_eisa.c')
-rw-r--r-- | sys/dev/ida/ida_eisa.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ida/ida_eisa.c b/sys/dev/ida/ida_eisa.c index 93b8bdf..e76b599 100644 --- a/sys/dev/ida/ida_eisa.c +++ b/sys/dev/ida/ida_eisa.c @@ -315,6 +315,7 @@ ida_eisa_attach(device_t dev) return (ENOMEM); } + ida->flags = 0; error = ida_init(ida); if (error) { ida_free(ida); @@ -322,7 +323,7 @@ ida_eisa_attach(device_t dev) } ida_attach(ida); - ida->flags = IDA_ATTACHED; + ida->flags |= IDA_ATTACHED; return (0); } |