Re: [patch] VIA 4.2x driver for 2.2 kernels (fwd)

Vojtech Pavlik (vojtech@suse.cz)
Fri, 23 Feb 2001 11:50:20 +0100


On Thu, Feb 22, 2001 at 12:20:55PM -0300, Rogerio Brito wrote:

> This message was apparently intended to be sent to the list.
>
>
> []s, Roger...
>
> ----- Forwarded message from Pozsar Balazs <pozsy@sch.bme.hu> -----
>
> From: Pozsar Balazs <pozsy@sch.bme.hu>
> To: Rogerio Brito <rbrito@iname.com>
> Subject: Re: [patch] VIA 4.2x driver for 2.2 kernels
> Date: Thu, 22 Feb 2001 01:04:27 +0100 (MET)
> Message-ID: <Pine.GSO.4.30.0102220103290.8797-100000@balu>
>
>
> The kernel doesn't seem to set 32bit io transfers by default. Is it
> dangerous or unrecommended to set it with hdparm?

It does:

via82cxxx.c, line 536: hwif->drives[i].io_32bit = 1;

Actually this seems to be required for correct operation in PIO modes.
Anyway, it doesn't have an effect if DMA/UDMA modes are used -
BusMastering is always 32bit.

-- 
Vojtech Pavlik
SuSE Labs
-
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/