Commit 81d8a341 authored by Tero Roponen's avatar Tero Roponen Committed by Linus Torvalds

[PATCH] Don't initialize /dev/pg0 to be always busy

Without this patch my HP CD-Writer doesn't work.
With this applied everything is fine.
Signed-off-by: default avatarTero Roponen <teanropo@cc.jyu.fi>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 486513ff
......@@ -262,7 +262,7 @@ static void pg_init_units(void)
int *parm = *drives[unit];
struct pg *dev = &devices[unit];
dev->pi = &dev->pia;
set_bit(0, &dev->access);
clear_bit(0, &dev->access);
dev->busy = 0;
dev->present = 0;
dev->bufptr = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment