Messages in this thread | | | Date | Mon, 11 Nov 2002 15:35:39 -0500 | From | Doug Ledford <> | Subject | Re: [PATCH] NCR53C9x ESP: C99 designated initializers |
| |
On Mon, Nov 11, 2002 at 01:05:25PM +0000, Alan Cox wrote: > Lots of drivers do
Yes, this part sucks. There needs to be an easy library function that takes a scsi command pointer, sets up a wait queue, adds the wait queue struct pointer to the scsi command, sleeps with a timeout, wakes up when command completes via scsi_done() or timeout fires, returns value based upon how wake up happened. Right now we don't have that, we only have a little helper function, scsi_sleep(), for sleeping for a fixed length of time.
-- Doug Ledford <dledford@redhat.com> 919-754-3700 x44233 Red Hat, Inc. 1801 Varsity Dr. Raleigh, NC 27606 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |