]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fill in missing parts of the ATAPI/CAM XPT: implement XPT_RESET_BUS
authorthomas <thomas@FreeBSD.org>
Tue, 22 Oct 2002 20:18:51 +0000 (20:18 +0000)
committerthomas <thomas@FreeBSD.org>
Tue, 22 Oct 2002 20:18:51 +0000 (20:18 +0000)
commit8caec9a500d4293aea472a3e271842d2ddacfeb6
treef50066b5dfad8f06ed5c405fc688264b8060d81c
parent2d3640fddd01b6d05253a3ebcb3159c067604907
Fill in missing parts of the ATAPI/CAM XPT: implement XPT_RESET_BUS
and XPT_RESET_DEV.

In order to properly handle reset requests whether they originate in the
ATA layer (atacontrol reinit) or from the CAM layer (camcontrol reset)
ata_reinit does not cause the SIM to be deallocated anymore. The SIM
is now unconditionnally created for each ATAPI bus.

This change may cause existing bus ids to change on some setups.

Reviewed by: roberto
Approved by: sos
sys/dev/ata/ata-all.c
sys/dev/ata/atapi-all.h
sys/dev/ata/atapi-cam.c