Linux MIPS Architecture development
 help / color / mirror / Atom feed
* pci io remapping and ide_ioreg_t
@ 2001-02-20  4:41 Liam Davies
  2001-02-20  8:52 ` Geert Uytterhoeven
  2001-02-20 20:51 ` Ralf Baechle
  0 siblings, 2 replies; 3+ messages in thread
From: Liam Davies @ 2001-02-20  4:41 UTC (permalink / raw)
  To: linux-mips

I have an old (2.0.x) ide driver that used to hard code the 
hwif->io_ports up to the 0x100001f0-0x100001f7 range. This is now broken 
in the 2.4 kernel since ide_ioreg_t has changed from unsigned long to 
unsigned short.

What is the mechanism for reaching these ports now?


Thanks
Liam

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

* Re: pci io remapping and ide_ioreg_t
  2001-02-20  4:41 pci io remapping and ide_ioreg_t Liam Davies
@ 2001-02-20  8:52 ` Geert Uytterhoeven
  2001-02-20 20:51 ` Ralf Baechle
  1 sibling, 0 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2001-02-20  8:52 UTC (permalink / raw)
  To: ldavies; +Cc: linux-mips

On Tue, 20 Feb 2001, Liam Davies wrote:
> I have an old (2.0.x) ide driver that used to hard code the 
> hwif->io_ports up to the 0x100001f0-0x100001f7 range. This is now broken 
> in the 2.4 kernel since ide_ioreg_t has changed from unsigned long to 
> unsigned short.
> 
> What is the mechanism for reaching these ports now?

Change ide_ioreg_t back to unsigned long? ide_ioreg_t is arch specific.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven ------------- Sony Software Development Center Europe (SDCE)
Geert.Uytterhoeven@sonycom.com ------------------- Sint-Stevens-Woluwestraat 55
Voice +32-2-7248626 Fax +32-2-7262686 ---------------- B-1130 Brussels, Belgium

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

* Re: pci io remapping and ide_ioreg_t
  2001-02-20  4:41 pci io remapping and ide_ioreg_t Liam Davies
  2001-02-20  8:52 ` Geert Uytterhoeven
@ 2001-02-20 20:51 ` Ralf Baechle
  1 sibling, 0 replies; 3+ messages in thread
From: Ralf Baechle @ 2001-02-20 20:51 UTC (permalink / raw)
  To: ldavies; +Cc: linux-mips

On Tue, Feb 20, 2001 at 02:41:19PM +1000, Liam Davies wrote:

> I have an old (2.0.x) ide driver that used to hard code the 
> hwif->io_ports up to the 0x100001f0-0x100001f7 range. This is now broken 
> in the 2.4 kernel since ide_ioreg_t has changed from unsigned long to 
> unsigned short.
> 
> What is the mechanism for reaching these ports now?

Consider this size of ide_ioreg_t a glitch; most current MIPS designs
have their IDE ports in outer space.  It shouldn't break anything, so
until somebody is going to cry I'll change it to unsigned long.

  Ralf

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

end of thread, other threads:[~2001-02-20 20:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-20  4:41 pci io remapping and ide_ioreg_t Liam Davies
2001-02-20  8:52 ` Geert Uytterhoeven
2001-02-20 20:51 ` Ralf Baechle

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