Skip to contentSkip to conversation

VIA IDE 4.0 and AMD IDE 2.0 with automatic PC

preview Petr Vandrovec 5 participants 6 messages Feb 9, 2001 – Feb 10, 2001

lore
Share & tools
lore
#0 lore raw
Quoted 5 lines · Vojtech Pavlik

Unfortunately the PCI speed measuring code needs help from the chipset itself, so it isn't possible to implement in generic code. Maybe a callback could be added to the chipset-specific drivers, though ...

I do have some plans with ide-pci.c, so ...

Is not PCI speed determined by host-bridge setting (and not by IDE interface)? In that case we should determine bus speed on PCI bus scan using chipset specific drivers. Other non IDE devices, such as matroxfb, may be interested in PCI speed too.
Best regards,
Petr Vandrovec [email protected]

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw
Quoted 8 lines · Petr Vandrovec
Quoted 5 lines

Unfortunately the PCI speed measuring code needs help from the chipset itself, so it isn't possible to implement in generic code. Maybe a callback could be added to the chipset-specific drivers, though ...

I do have some plans with ide-pci.c, so ...

Is not PCI speed determined by host-bridge setting (and not by IDE interface)?

I found no way of measuring the PCI speed than by doing an IDE PIO transfer unfortunately. Measuring all other PCI transactions gives bad results, because it is dependent on waitstates and other variables.

Quoted 3 lines

In that case we should determine bus speed on PCI bus scan using chipset specific drivers. Other non IDE devices, such as matroxfb, may be interested in PCI speed too.

Not the case, sorry. An IDE drive is needed. However, it still might be worth to pass the PCI speed to other drivers ...

Signature · 6 lines
Vojtech Pavlik
SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#2 lore raw
In reply to Petr Vandrovec
Quoted 6 lines · Petr Vandrovec
Quoted 4 lines · Vojtech Pavlik

Unfortunately the PCI speed measuring code needs help from the chipset itself, so it isn't possible to implement in generic code. Maybe a callback could be added to the chipset-specific drivers, though ...

Quoted 6 lines
Quoted 1 line

I do have some plans with ide-pci.c, so ...

Is not PCI speed determined by host-bridge setting (and not by IDE interface)? In that case we should determine bus speed on PCI bus scan using chipset specific drivers. Other non IDE devices, such as matroxfb, may be interested in PCI speed too.

that file will most likely go away in 2.5

Andre Hedrick
Linux ATA Development
ASL Kernel Development
-----------------------------------------------------------------------------

ASL, Inc.                                     Toll free: 1-877-ASL-3535
1757 Houret Court                             Fax: 1-408-941-2071
Milpitas, CA 95035                            Web: www.aslab.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#3 lore raw
In reply to Petr Vandrovec
Quoted 4 lines · Andre Hedrick
Quoted 4 lines
Quoted 4 lines

Unfortunately the PCI speed measuring code needs help from the chipset itself, so it isn't possible to implement in generic code. Maybe a callback could be added to the chipset-specific drivers, though ...

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

I do have some plans with ide-pci.c, so ...

Is not PCI speed determined by host-bridge setting (and not by IDE interface)? In that case we should determine bus speed on PCI bus scan using chipset specific drivers. Other non IDE devices, such as matroxfb, may be interested in PCI speed too.

that file will most likely go away in 2.5

Good, it should.

Signature · 6 lines
Vojtech Pavlik
SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#4 lore raw
In reply to Petr Vandrovec

Hello!

Quoted 2 lines

Not the case, sorry. An IDE drive is needed. However, it still might be worth to pass the PCI speed to other drivers ...

But beware, the timing should be a per-bus value.

Have a nice fortnight

Signature · 6 lines
Martin `MJ' Mares <[email protected]> <[email protected]> http://atrey.karlin.mff.cuni.cz/~mj/
The first myth of management is that it exists.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#5 lore raw
Quoted 4 lines
Quoted 2 lines

Not the case, sorry. An IDE drive is needed. However, it still might be worth to pass the PCI speed to other drivers ...

But beware, the timing should be a per-bus value.

Indeed - remember the PowerMac G3 (blue & white) and the "Yikes" G4 have a 66MHz PCI slot in place of the AGP slot used in later G4s, with the remaining 3 PCI slots being 33MHz 64-bit.

--------------------------------------------------------------

from:     Jonathan "Chromatix" Morton
mail:     [email protected]  (not for attachments)
big-mail: [email protected]
uni-mail: [email protected]

The key to knowledge is not to rely on people to teach you it.

Get VNC Server for Macintosh from http://www.chromatix.uklinux.net/vnc/

-----BEGIN GEEK CODE BLOCK-----
Version 3.12
GCS$/E/S dpu(!) s:- a20 C+++ UL++ P L+++ E W+ N- o? K? w--- O-- M++$ V? PS PE- Y+ PGP++ t- 5- X- R !tv b++ DI+++ D G e+ h+ r- y+
-----END GEEK CODE BLOCK-----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/