]> git.neil.brown.name Git - history.git/commit
ide-scsi changes for new mid level api and error handling in 2.5.52
authorWillem Riede <wrlk@riede.org>
Mon, 23 Dec 2002 07:16:08 +0000 (01:16 -0600)
committerJames Bottomley <jejb@mulgrave.(none)>
Mon, 23 Dec 2002 07:16:08 +0000 (01:16 -0600)
commitd55b3076721b53044d335a367dc9e2503c70fc5f
tree74cc13f6eccbf204a5d6c3c5761d81e229ce41f9
parent7ee757620b862d2a48accafda081421411563bac
ide-scsi changes for new mid level api and error handling in 2.5.52

Here is my proposal for bringing ide-scsi in line with the current kernel.

The attached patch does:

1. Change from old style initialization to the new hotplug initialization model.
   It involves declaring both a parent device and bus kernel object, which feels
   a bit awkward, but hey, it works.

2. Make ide-scsi request sense itself when CHECK_CONDITION is asserted. This
   change particularly makes ide-scsi run much smoother on my test box.

3. Implement eh_abort_handler and eh_device_reset_handler. I have no real way
   to thoroughly test these new routines, so for this part particularly I ask
   for peer review.
drivers/scsi/ide-scsi.c