IDE 58
(resent, I had the date screwed up previously, sorry about the inconvenience).
Quoted 9 lines
I don't see why all IDE-interfaces in the world have to be I/O-mapped just because the first PC implementations used that. Sure it was an extended ISA-bus but the ISA bus is long gone and we don't all run PC's anymore either.
So the simple abstraction we need to hit IDE-bus registers is a macro or inline, instead of a call of an I/O-primitive. It was too much work to abstract this when I inserted the CRIS-arch IDE-driver in the first place so I found a workaround but now seems like a better time..
No, not a macro. There are cases where you want different access methods on the same machine. For example, pmacs can have the "mac-io" (ide-pmac) controller, which is MMIO based, _and_ a PCI-based legacy IDE controller using inx/outx like IOs. (A typical example is the Blue&White G3 who has both on the motherboard).
Ultimately, you want the hwif (or what it becomes in 2.5) provide a set of functions for accessing taskfile registers and doing the PIO data stream read/writes (that is replace inb/outb and insw/outsw).
Uz.ytkownik Benjamin Herrenschmidt napisa?:
Quoted 15 lines
(resent, I had the date screwed up previously, sorry about the inconvenience).
Quoted 3 lines
I don't see why all IDE-interfaces in the world have to be I/O-mapped just because the first PC implementations used that. Sure it was an extended ISA-bus but the ISA bus is long gone and we don't all run PC's anymore either.
So the simple abstraction we need to hit IDE-bus registers is a macro or inline, instead of a call of an I/O-primitive. It was too much work to abstract this when I inserted the CRIS-arch IDE-driver in the first place so I found a workaround but now seems like a better time..
No, not a macro. There are cases where you want different access methods on the same machine. For example, pmacs can have the "mac-io" (ide-pmac) controller, which is MMIO based, _and_ a PCI-based legacy IDE controller using inx/outx like IOs. (A typical example is the Blue&White G3 who has both on the motherboard).
Quoted 3 lines
Ultimately, you want the hwif (or what it becomes in 2.5) provide a set of functions for accessing taskfile registers and doing the PIO data stream read/writes (that is replace inb/outb and insw/outsw).
Terminology in 2.5:
We have a host chip set or shortly a host chip. This is implementing the ATA interface on the side of the motherboard.
The host chip is providing two channels. A primary and a secondary one. To a channel we can attach two devices, however we use the term drive instead in code becouse the termi device is quite overloaded with meaning already. The devices are enumerated as units. That's it. Far more natural then hwif hwgrp and so on. IDE is the Integrated Device Electronic - the microcontroller stuff I don't care that much about.
Quoted 9 lines · Martin Dalecki
Terminology in 2.5:
We have a host chip set or shortly a host chip. This is implementing the ATA interface on the side of the motherboard.
The host chip is providing two channels. A primary and a secondary one. To a channel we can attach two devices, however we use the term drive instead in code becouse the termi device is quite overloaded with meaning already. The devices are enumerated as units. That's it. Far more natural then hwif hwgrp and so on. IDE is the Integrated Device Electronic - the microcontroller stuff I don't care that much about.
</me ignorant>Um, what about the IDE PCI cards which have 4 channels on them? Like these two:
Adaptec 2400 4Ch IDE Raid Controller
RocketRaid 404 4Ch ATA133 Raid Host Adaptor
Best regards,
Anton
ps Sorry about the outburst yesterday, I was tired and just flipped...
Signature · 5 lines
"I've not lost my mind. It's backed up on tape somewhere." - Unknown -- Anton Altaparmakov <aia21 at cantab.net> (replace at with @) Linux NTFS Maintainer / IRC: #ntfs on irc.openprojects.net WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/
Quoted 5 lines · Anton Altaparmakov
</me ignorant>Um, what about the IDE PCI cards which have 4 channels on them? Like these two:
Adaptec 2400 4Ch IDE Raid Controller
RocketRaid 404 4Ch ATA133 Raid Host Adaptor
It is not an issue since they broadcast as single channel pairs per host. Martin is winning the argument hands down.
Andre Hedrick
LAD Storage Consulting Group
Uz.ytkownik Anton Altaparmakov napisa?:
Quoted 13 lines
Quoted 9 lines · Martin Dalecki
Terminology in 2.5:
We have a host chip set or shortly a host chip. This is implementing the ATA interface on the side of the motherboard.
The host chip is providing two channels. A primary and a secondary one. To a channel we can attach two devices, however we use the term drive instead in code becouse the termi device is quite overloaded with meaning already. The devices are enumerated as units. That's it. Far more natural then hwif hwgrp and so on. IDE is the Integrated Device Electronic - the microcontroller stuff I don't care that much about.
Quoted 4 lines
</me ignorant>Um, what about the IDE PCI cards which have 4 channels on them? Like these two:
Adaptec 2400 4Ch IDE Raid Controller
RocketRaid 404 4Ch ATA133 Raid Host Adaptor
They appear as SCSI on the host side.
Quoted 4 lines
Quoted 2 lines
Adaptec 2400 4Ch IDE Raid Controller
RocketRaid 404 4Ch ATA133 Raid Host AdaptorThey appear as SCSI on the host side.
Actually the adaptec appears as a block device.