2001-02-22 15:21:20

by Rogerio Brito

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

This message was apparently intended to be sent to the list.


[]s, Roger...

----- Forwarded message from Pozsar Balazs <[email protected]> -----

From: Pozsar Balazs <[email protected]>
To: Rogerio Brito <[email protected]>
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?


On Wed, 21 Feb 2001, Rogerio Brito wrote:

> On Feb 21 2001, Vojtech Pavlik wrote:
> > On Tue, Feb 20, 2001 at 11:15:02PM -0800, Shane Wegner wrote:
> > > Ok, can I still use -u1 -k1 -c1 on the drives or is it even
> > > necessary anymore.
> >
> > If you enable automatic DMA in the kernel config, it isn't necessary
> > at all. The VIA driver sets up everything.
>
> Ok. Please disregard my last message (this one contains
> exactly what I was looking for).
>
> > 4) But VIA is still set to PIO mode
>
> Why does this happen?
>
> And what about the other options to hdparm (-u1 -k1 -c1)? Are
> they potentially dangerous also?
>
>
> []s, Roger...
>
>



----- End forwarded message -----

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rogerio Brito - [email protected] - http://www.ime.usp.br/~rbrito/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


2001-02-23 09:51:22

by Vojtech Pavlik

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

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 <[email protected]> -----
>
> From: Pozsar Balazs <[email protected]>
> To: Rogerio Brito <[email protected]>
> 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