]> git.hungrycats.org Git - linux/commit
[PATCH] ide: identify non decoded master/slave by serial and model
authorBartlomiej Zolnierkiewicz <b.zolnierkiewicz@elka.pw.edu.pl>
Sat, 28 Aug 2004 04:20:27 +0000 (21:20 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 28 Aug 2004 04:20:27 +0000 (21:20 -0700)
commitb4a93dc0996a2c4b4f61878d5a02af01dba60a27
tree951f383a41e6a22d56d9c92cd74a48a07569d504
parent7e8745b86fcdd79f8affa45f037dd601fcb82df6
[PATCH] ide: identify non decoded master/slave by serial and model

From: Alan Cox <alan@redhat.com>

Some interfaces (notably PCMCIA ones) don't decode the master/slave select so
you get two copies of a device appearing and bad things happening if a user
accidentally uses both.

This checks for the model/serial matching but also knows about non ATA drives
ide=noprobe and a Maxtor problem that was found in Andrew's testing of an
earlier patch. Although M00000.. drives should be RMA'd to Maxtor (and with
info on where they were obtained...) we don't want to break anyone who has
them.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/ide/ide-probe.c