i found a problem in arch/ppc/kernel/prep_pci.c : function 'prep_pcibios_read_config_byte'
we find :
} else
{
ptr = (unsigned char *)(0x80800000 | (1<<dev) | (offset ^ 1));
_val = *ptr;
}
So, on my machine ppc : i must put ' ptr = (unsigned char *)(0x80800000 | (1<<dev) | (offset));'
because, we work in big endain and if we do offset ^ 1, we read 'Interrupt Pin'
herve REY, france
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/