On Saturday 19 May 2007 19:17:18 Uwe Hermann wrote:
On Sat, May 19, 2007 at 09:55:03AM -0700, yhlu wrote:
/* Initialize interrupt mapping */
//dword = 0x0000d218;
dword = 0x01200000; //a8ne
pci_write_config32(dev, 0x7c, dword);
//dword = 0x12008a00;
dword = 0x12008009; //a8ne
pci_write_config32(dev, 0x80, dword);
//dword = 0x0000007d;
dword = 0x0002010d; //a8ne
pci_write_config32(dev, 0x84, dword);
What are the commented values? Not for the A8N-E? Then we should probably drop them.
yes they are a remainder of s2891 :). i will drop them.
No, you can not. try to see what happen.
Ah, I meant the comments only:
//dword = 0x0000d218;
//dword = 0x12008a00;
//dword = 0x0000007d;
The other code must remain, of course.
modified code as proposed by uwe, see patch
changes were tested on hardware and with abuild. (see attached lspci for further info of the hardware that was used for the tests)
Did send other 2 patches separately as proposed.
Signed-off-by: Philipp Degler pdegler@rumms.uni-mannheim.de
--- phil