Subject: Re: Broadband adapter == RTL8139C
To: None <port-dreamcast@netbsd.org>
From: BERO <bero@bekkoame.ne.jp>
List: port-dreamcast
Date: 01/25/2001 04:08:56
in my view,
LAN CARD

0xa0600000 byte
0xa0600004 byte
0xa0600008 byte

check if lancard is exist or not

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

bero

----- Original Message -----
From: "Jason R Thorpe" <thorpej@zembu.com>
To: "Marcus Comstedt" <marcus@idonex.se>
Cc: <gillham@ameritech.net>; <port-dreamcast@netbsd.org>
Sent: Thursday, January 25, 2001 1:21 AM
Subject: Re: Broadband adapter == RTL8139C


> On Wed, Jan 24, 2001 at 02:49:42PM +0100, Marcus Comstedt wrote:
>
>  > Since the rtk driver seems to support both pci and cardbus, I guess it
>  > shouldn't be to hard to make it work with the DC pci emulation as
>  > well...  What happens is that when I activate the SEGA chip, the
>  > RTL8193C:s registers appear memory-mapped at a special address.  DMA
>  > buffers are allocated from a dedicated memory at another special
>  > address.  And, uh, that's it I guess.  Oh, there's an interrupt too.
>
> Does the 8139's PCI configuration space get mapped anywhere?
>
> Anyway, you'll still need bus_dma and bus_space -- the rtk driver
> depends on it.
>
> All this special stuff can be easily encapsulated in bus_dma and
bus_space.
>
> --
>         -- Jason R. Thorpe <thorpej@zembu.com>
>