IDE / SmartMedia

Andries.Brouwer@cwi.nl
Mon, 15 Apr 2002 02:50:04 GMT


> 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.

So far about IDE. Marcin wil figure out what went wrong there.

I figured out something else, namely that SDDR09 has a built-in
scatter-gather read command (several pages on the card to a single
memory buffer). Probably also an sg write command,
but I have not found it yet. Let me document in public:

/*
* Read Scatter Gather Command: 3+4n bytes.
* byte 0: opcode E7
* byte 2: n
* bytes 4i-1,4i,4i+1: page address
* byte 4i+2: page count
* (i=1..n)
*/

Finally a question. People tell me that very recently
256MB (2Gb) SmartMedia (NAND flash) cards have appeared.
If someone has one of these already, please tell me -
I would like to know the device type code.

Andries
-
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/