Subject: Re: ATM en0 driver on sbus
To: Chuck Cranor <chuck@maria.wustl.edu>
From: Ruibiao Qiu <ruibiao@arl.wustl.edu>
List: port-sparc
Date: 08/14/1998 15:23:08
tOn Fri, 14 Aug 1998, Chuck Cranor wrote:

>In your letter dated Fri, 14 Aug 1998 12:52:34 -0500 (CDT), you wrote:
>in the short term, the quick hack would be to switch to using
>the #define for bus_space_read_4/bus_space_write_4 in 
>sys/arch/sparc/include/bus.h (deleting the fake ones in midwayreg.h).

This doesn't seem work.  I commented out the old #define
bus_space_read_4 and bus_space_write_4, and copied those #defines
from sys/arch/sparc/include/bus.h into midwayreg.h.  This time,
the midway.c compiled, but if_en.c caused errors of conflicting
types of bus_space_tag_t, bus_space_handle_t, bus_size_t,
bus_addr_t.  And there are also prototype mismatch errors.  Should
I change the include file in if_en.c?

>>o arg mismatch in en_attach, long int format, int arg, (arg 9)

Fixed.

          Regards

            Ruibiao

/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
   Ruibiao Qiu                      ruibiao@arl.wustl.edu
   Research Assistant               ruibiao@cs.wustl.edu
   Applied Research Laboratory      rq1@cec.wustl.edu
   Department of Computer Science   ruibiao@acm.org
   Washington University            http://www.arl.wustl.edu/~ruibiao
   Campus Box 1045                  http://www.cs.wustl.edu/~ruibiao
   One Brookings Drive              Tel. (314)935-8563
   St. Louis, MO 63130-4899 USA     Fax  (314)935-7302
\____________________________________________________________________/