Date: Wed, 14 Mar 2001 04:05:45 -0800 (PST) From: Søren Schmidt <sos@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/ata ata-all.c ata-all.h ata-disk.c ata-disk.h atapi-all.c atapi-all.h atapi-cd.c atapi-cd.h atapi-fd.c atapi-fd.h atapi-tape.c atapi-tape.h Message-ID: <200103141205.f2EC5jE91878@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
sos 2001/03/14 04:05:45 PST Modified files: sys/dev/ata ata-all.c ata-all.h ata-disk.c ata-disk.h atapi-all.c atapi-all.h atapi-cd.c atapi-cd.h atapi-fd.c atapi-fd.h atapi-tape.c atapi-tape.h Log: Refine the detach/attach code. Proberly fail outstanding bio requests on devices that are detached. This makes it possible to change between disk/cdrom/dvd/whathaveyou in a notebook, just by suspending it, changing the device in the bay (or what you model calls it), unsuspend and the ATA driver will figure out what disappeared and properly fail those, and attach any new devices found. Revision Changes Path 1.107 +188 -150 src/sys/dev/ata/ata-all.c 1.41 +12 -12 src/sys/dev/ata/ata-all.h 1.94 +34 -5 src/sys/dev/ata/ata-disk.c 1.32 +2 -1 src/sys/dev/ata/ata-disk.h 1.64 +23 -2 src/sys/dev/ata/atapi-all.c 1.34 +2 -2 src/sys/dev/ata/atapi-all.h 1.79 +42 -11 src/sys/dev/ata/atapi-cd.c 1.23 +4 -2 src/sys/dev/ata/atapi-cd.h 1.59 +41 -25 src/sys/dev/ata/atapi-fd.c 1.14 +2 -2 src/sys/dev/ata/atapi-fd.h 1.52 +18 -5 src/sys/dev/ata/atapi-tape.c 1.15 +2 -2 src/sys/dev/ata/atapi-tape.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103141205.f2EC5jE91878>