mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: ATA port addresses
@ 2005-04-29 19:06 john doe
  2005-04-29 20:13 ` Alan Cox
  0 siblings, 1 reply; 8+ messages in thread
From: john doe @ 2005-04-29 19:06 UTC (permalink / raw)
  To: linux-kernel

Further to my original post I am using an Intel ICH4
IDE controller on an Intel D845EBG2 motherboard.  I
hope this clarifies a little.

Thanks again

> Its architecture and board dependent. Linux will let
> you issue IDE
> taskfile command blocks via ioctls so you can avoid
> poking the hardware
> (and poking the hardware will upset the ide
> driver..)

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ATA port addresses
  2005-04-29 19:06 ATA port addresses john doe
@ 2005-04-29 20:13 ` Alan Cox
  0 siblings, 0 replies; 8+ messages in thread
From: Alan Cox @ 2005-04-29 20:13 UTC (permalink / raw)
  To: john doe; +Cc: Linux Kernel Mailing List

On Gwe, 2005-04-29 at 20:06, john doe wrote:
> Further to my original post I am using an Intel ICH4
> IDE controller on an Intel D845EBG2 motherboard.  I
> hope this clarifies a little.

The data sheet is on intel.com


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ATA port addresses
@ 2005-04-30 18:59 john doe
  0 siblings, 0 replies; 8+ messages in thread
From: john doe @ 2005-04-30 18:59 UTC (permalink / raw)
  To: Alan Cox; +Cc: Linux Kernel Mailing List

Thanks for the advice, its probably as you say to go
through the kernel and drivers.

Thanks again!


--- Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> On Gwe, 2005-04-29 at 16:37, john doe wrote:
> > Thank you for the prompt reply!
> > 
> > I'll look at this option closer.  Is there a way
> to
> > bypass the IDE driver though? 
> 
> Write your own kernel 8) There isn't really a way to
> bypass it and since
> you rely on the kernel for functionality like mmap
> you rely on it for
> trust anyway. More pressingly you need DMA
> functionality for some
> hardware and the newer devices are all getting very
> clever and sometimes
> very unique in their interfacing
> 
> 

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ATA port addresses
  2005-04-29 15:37 john doe
@ 2005-04-29 20:18 ` Alan Cox
  0 siblings, 0 replies; 8+ messages in thread
From: Alan Cox @ 2005-04-29 20:18 UTC (permalink / raw)
  To: john doe; +Cc: Linux Kernel Mailing List

On Gwe, 2005-04-29 at 16:37, john doe wrote:
> Thank you for the prompt reply!
> 
> I'll look at this option closer.  Is there a way to
> bypass the IDE driver though? 

Write your own kernel 8) There isn't really a way to bypass it and since
you rely on the kernel for functionality like mmap you rely on it for
trust anyway. More pressingly you need DMA functionality for some
hardware and the newer devices are all getting very clever and sometimes
very unique in their interfacing


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ATA port addresses
@ 2005-04-29 15:37 john doe
  2005-04-29 20:18 ` Alan Cox
  0 siblings, 1 reply; 8+ messages in thread
From: john doe @ 2005-04-29 15:37 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel

Thank you for the prompt reply!

I'll look at this option closer.  Is there a way to
bypass the IDE driver though?  I was hoping the code
would run at the driver level for security reasons.  I
would like to write the command to the device
directly.

> Its architecture and board dependent. Linux will let
> you issue IDE
> taskfile command blocks via ioctls so you can avoid
> poking the hardware
> (and poking the hardware will upset the ide
> driver..)


______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ATA port addresses
  2005-04-29 15:00 john doe
@ 2005-04-29 15:30 ` Alan Cox
  0 siblings, 0 replies; 8+ messages in thread
From: Alan Cox @ 2005-04-29 15:30 UTC (permalink / raw)
  To: john doe; +Cc: Linux Kernel Mailing List

On Gwe, 2005-04-29 at 16:00, john doe wrote:
> What I need to know is the port address space for the
> ATA device.  Specifically the port address space of
> the command bloc registers.

Its architecture and board dependent. Linux will let you issue IDE
taskfile command blocks via ioctls so you can avoid poking the hardware
(and poking the hardware will upset the ide driver..)



^ permalink raw reply	[flat|nested] 8+ messages in thread

* ATA port addresses
@ 2005-04-29 15:00 john doe
  2005-04-29 15:30 ` Alan Cox
  0 siblings, 1 reply; 8+ messages in thread
From: john doe @ 2005-04-29 15:00 UTC (permalink / raw)
  To: linux-kernel

I am looking to develop a diagnostic tool for hard
disks.  I need to identify the devices.

I already have the command to issue to the command
register, how to set the device register and how to
read the data register for the information needed.

What I need to know is the port address space for the
ATA device.  Specifically the port address space of
the command bloc registers.

Any help would be much appreciated
Thank you

John

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca

^ permalink raw reply	[flat|nested] 8+ messages in thread

* ATA port addresses
@ 2005-04-29 14:57 john doe
  0 siblings, 0 replies; 8+ messages in thread
From: john doe @ 2005-04-29 14:57 UTC (permalink / raw)
  To: linux-kernel

I am looking to develop a diagnostic tool for hard
disks.  I need to identify the devices.

I already have the command to issue to the command
register, how to set the device register and how to
read the data register for the information needed.

What I need to know is the port address space for the
ATA device.  Specifically the port address space of
the command bloc registers.

Any help would be much appreciated
Thank you

John

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-04-30 19:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-29 19:06 ATA port addresses john doe
2005-04-29 20:13 ` Alan Cox
  -- strict thread matches above, loose matches on Subject: below --
2005-04-30 18:59 john doe
2005-04-29 15:37 john doe
2005-04-29 20:18 ` Alan Cox
2005-04-29 15:00 john doe
2005-04-29 15:30 ` Alan Cox
2005-04-29 14:57 john doe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome