Subject: Re: Broadband adapter == RTL8139C
To: None <bero@bekkoame.ne.jp>
From: Marcus Comstedt <marcus@idonex.se>
List: port-dreamcast
Date: 01/24/2001 20:23:06
>>>>> "bero" == BERO  <bero@bekkoame.ne.jp> writes:

  bero> in my view,
  bero> LAN CARD

  bero> 0xa0600000 byte
  bero> 0xa0600004 byte
  bero> 0xa0600008 byte

  bero> check if lancard is exist or not

  bero> if (*0xa0600000==0 && 0xa0600004==1) {
  bero>      *0xa0600008 = 0x55;
  bero>      if (*0xa0600008==0x55) {
  bero>         *0xa0600008 = 0xaa:
  bero>         if (*0xa0600008==0xaa) {
  bero>            return success;
  bero>         }
  bero>      }
  bero>   }
  bero> }
  bero> return false;

Actually, I believe my version is better:

  if(!strncmp((char *)0xa1001400, "GAPSPCI_BRIDGE_2", 16))
    return success;
  return failure;

:-)


  // Marcus