From: Kristoffer E. <kri...@ho...> - 2007-04-04 11:48:52
|
Im still unable to get Pata support going. From what I can tell the ipr_map seems fine and so does all the setup code for hp6xx and h64461. The generic MMIO needs to be changed in order for it to work for hp6xx, I received a patch from andriy before when we had issues with pcmcia wifi. The adresses inside h64461.h though must be wrong atleast partly. Examples: +/* PC Card Controller Registers */ +#define HD64461_PCC0ISR 0x12000 /* socket 0 interface status */ +#define HD64461_PCC0GCR 0x12002 /* socket 0 general control */ +#define HD64461_PCC0CSCR 0x12004 /* socket 0 card status change */ +#define HD64461_PCC0CSCIER 0x12006 /* socket 0 card status change interrupt enable */ +#define HD64461_PCC0SCR 0x12008 /* socket 0 software control */ Needs to be changed to CONFIG_HD64461_IOBASE + port - 0x10000 to work. Otherwise no output is given on screen. #define HD64461_STBCR 0x10000 Would result in STBCR = CONFIG_HD64461_IOBASE if port2addr were resolving that adress. It works if I change that value, but not otherwise. So I know paul stated before that hd64461.h should be left untouched, but Im unable to get it working if I don't change some values. And the hard part is knowing what was touched by port2addr and what wasn't. Im considering going back to using the hd64461_mv specific and only using mmio for pata, as Im making no progress. Best wishes Kristoffer _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ |