Subject: Re: Broadband adapter == RTL8139C
To: None <port-dreamcast@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: port-dreamcast
Date: 01/26/2001 03:04:03
In article <200101241923.UAA07861@megalon.idonex.se>,
Marcus Comstedt <marcus@idonex.se> wrote:

I have been poking around a bit at the dreamcast port, and the thing that
I've noticed is the lack of symbolic constants. Most of the drivers just
use magic numbers. Yes, there are comments in the code that explain what
each line of code tries to do, but there is a lack of devicereg.h files
(there are devicevar.h files). This must be changed. We are not linux.

christos

>
>Actually, I believe my version is better:
>
>  if(!strncmp((char *)0xa1001400, "GAPSPCI_BRIDGE_2", 16))
>    return success;
>  return failure;
>
>:-)
>
>
>  // Marcus
>
>