Re: IDE / SmartMedia

Jens Axboe
2002-04-15T08:05:42Z

On Mon, Apr 15 2002, Andries.Brouwer@cwi.nl wrote:
> > The TCQ stuff is definitely experimental, you should probably
> > configure it out for now.
>
> % grep TCQ .config
> # CONFIG_BLK_DEV_IDE_TCQ is not set
> # CONFIG_BLK_DEV_IDE_TCQ_DEFAULT is not set
>
> That was not it. I had not selected DMA. Doing so does not help,
> but reveals a new choice, namely support for HPT366.
> Selecting CONFIG_BLK_DEV_HPT366 makes the crash go away.

--- drivers/ide/ide.c~ 2002-04-15 10:05:03.000000000 +0200
+++ drivers/ide/ide.c 2002-04-15 10:05:12.000000000 +0200
@@ -2764,7 +2764,6 @@
if (i) {
drive->queue_depth = i;
if (i >= 1) {
- drive->using_tcq = 1;
drive->tcq->queued = 0;
drive->tcq->active_tag = -1;
return 0;

--
Jens Axboe