Subject: Re: Farallon PhoneNet Support
To: Brad Guillory <brad@ductape.net>
From: Allen Briggs <briggs@ninthwonder.com>
List: port-mac68k
Date: 09/24/1999 08:48:39
> nubus0 slot e: PhoneNET® IIN (Vendor: Farallon Computing, Inc., Part: ???) Type:
>  0004 0001 0108 0100 not configured
> slot_noint() slot e

It looks like your PhoneNET card is generating interrupts that we aren't
handling.  Do you know (or does anyone on the list know) if the PhoneNET
cards need any extra programming support, or do they look exactly like
ethernet to the driver?

If you add the constants 0x0108 and 0x0100 (DrSW & DrHW) to the nubus.h
file and add the proper code in if_ae_nubus.c (ae_nb_car_vendor() and
possibly ae_nubus_match/_attach(), the card will no longer say, "not
configured".  The hard part might be to find the proper RAM, ROM, and
control memory addresses for the card.  If you're lucky, the PhoneNET
card uses the same addresses as the other Farallon card (which has
DrSW 0x010C, which is different from 0x0108, meaning that they chose to
make a distinction between this and another ethernet card).  DrSW is
supposed to identify the driver that is needed for the device whereas
DrHW differentiates different hardware revisions/types within a driver.
We do it somewhat differently, obviously, and use the same driver for
a number of different DrSWs.

-allen