도와주세요!!
글 수 15,339
2003.03.29 09:41:45 (*.148.59.231)
6684
ezboard.c 에서 smc91111 eth1과 eth2를 위한 주소매핑을 알려주세요.
대충 임의로 작성했는데.. 고쳐주시면 감사+감사하겠습니다.
static struct map_desc ezboard_io_desc[] __initdata = {
/* virtual physical length domain r w c b */
{ 0xe8000000, 0x00000000, 0x01000000, DOMAIN_IO, 1, 1, 0, 0 }, /*
Flash bank 0 */
{ 0xf0000000, 0x10000000, 0x00100000, DOMAIN_IO, 1, 1, 0, 0 }, /*
Crystal Chip - eth0 */
{ 0xf0200000, 0x18000000, 0x00100000, DOMAIN_IO, 1, 1, 0, 0 }, /*
smsc91c111 Chip - eth1 */
{ 0xf0220000, 0x18020000, 0x00100000, DOMAIN_IO, 1, 1, 0, 0 }, /*
smsc91c111 Chip - eth2 */
LAST_DESC
};
from. 류정현(윤시스템) - 031-728-1281
대충 임의로 작성했는데.. 고쳐주시면 감사+감사하겠습니다.
static struct map_desc ezboard_io_desc[] __initdata = {
/* virtual physical length domain r w c b */
{ 0xe8000000, 0x00000000, 0x01000000, DOMAIN_IO, 1, 1, 0, 0 }, /*
Flash bank 0 */
{ 0xf0000000, 0x10000000, 0x00100000, DOMAIN_IO, 1, 1, 0, 0 }, /*
Crystal Chip - eth0 */
{ 0xf0200000, 0x18000000, 0x00100000, DOMAIN_IO, 1, 1, 0, 0 }, /*
smsc91c111 Chip - eth1 */
{ 0xf0220000, 0x18020000, 0x00100000, DOMAIN_IO, 1, 1, 0, 0 }, /*
smsc91c111 Chip - eth2 */
LAST_DESC
};
from. 류정현(윤시스템) - 031-728-1281