From: Stuart M. <Stu...@st...> - 2000-08-02 15:49:39
|
Niibe-san Thanks for this. I wasn't able to test it before I posted as my SolutionEngine has just been fried (the power supply was accidently changed from 5V to 9V) and the Overdrive only has PCI I/O. When I first did this work I only had one port2addr function. However I got a bit confused by the code in the SolutionEngine io_se.c. There appears to be different handling for PCMCIA I/O addresses (which doesn't look finished...) and I/O to the SMSC SuperIO controller. I've never played with PCMCIA, so don't really understand the issues, and kept to two separate for this reason. If there is no good reason for this, great, I'll re-combine them. Stuart On Aug 2, 6:17pm, gn...@ch... wrote: > Subject: Re: [linuxsh-dev] Back from the dead > > Stuart, I needed following one-liner patch to use the command line: > > sh_mv=unknown,a4000000,1 > > for my board (CqREEK SH-4 with ISA/ATA Bridge). > > I'm not sure why we have both of mv_port2addr and mv_isa_port2addr. > One is enough, isn't it? I think that in/out is for ISA(-like) > interface. > > --- arch/sh/kernel/io_generic.c Wed Aug 2 18:06:36 2000 > +++ arch/sh/kernel/io_generic.c.new Wed Aug 2 17:26:23 2000 > @@ -23,7 +23,7 @@ > #define DUMMY_READ_AREA6 0xba000000 > #endif > > -#define PORT2ADDR(x) (sh_mv.mv_port2addr(x)) > +#define PORT2ADDR(x) (sh_mv.mv_isa_port2addr(x)) > > unsigned long generic_io_base; > > > _______________________________________________ > linuxsh-dev mailing list > lin...@li... > http://lists.sourceforge.net/mailman/listinfo/linuxsh-dev >-- End of excerpt from gn...@ch... |