bogus check in sg_add()

Paul Mackerras paulus at
Fri Feb 13 08:34:16 EST 2004

Brian King writes:
> Someone please remove this check. The ipr driver reports a device of
> type 255, and wants an sg started for it.

Done.  I always like reducing the diffs between ameslab and the
official trees. :)

For interest, the check was added by Todd Inglett on 14 Jan 2003 with
this changeset comment:

  Ignore host devices which are erroneously created by scsi_get_host_dev().
  Mike Anderson <andmike at> is looking into it.


** Sent via the linuxppc64-dev mail list. See

More information about the Linuxppc64-dev mailing list