
#
#	GENERIC configuration for Galileo EV64240
#
#  This file is supposed to be included by target file after
#  endian has been defined.
#
machine         Bonito        mips    # CPU Architecture, Platform
config          pmon 

#
#  Define target endian
#
makeoptions	ENDIAN=EL		# Little endian version.


include "conf/GENERIC_ALL1"

select		cmd_newmt
select		cmd_setup
select		cmd_test
#
# Platform options
#
option	    BONITOEL_CPCI
option		BONITOEL	
option		MIPS
option		INET
#option		GODSONEV1		# GALILEO GT64240 Host Bridge

select		mod_uart_ns16550	# Standard UART driver
#option		CONS_BAUD=B9600
option		CONS_BAUD=B115200
select		ext2
select		mod_x86emu_int10
#select		mod_x86emu		# X86 emulation for VGA
#option		DEBUG_EMU_VGA
select		mod_vgacon
option		NOPCINAMES		# Save some space for x86emu
#option		VGA_LYNX_0712
option 		AUTOLOAD
#
# Functional options.
#
option		NOSNOOP			# Caches are no-snooping

#
# HAVE options. What tgt level provide
#
option		HAVE_TOD		# Time-Of-Day clock
option		HAVE_NVENV		#  Platform has non-volatile env mem
option 	        NVRAM_IN_FLASH	
option		HAVE_LOGO		# Output splash logo

#
# System Name and Target Name
#
option		SYSTYPE="\"Bonito\""
option		TARGETNAME="\"Bonito\""

#
#  Now the Machine specification
#
mainbus0        at root
localbus0	at mainbus0
fd0         at mainbus0
pcibr0		at mainbus0
pcibr1		at mainbus0
pci*		at pcibr?
#ppb*		at pci? dev ? function ?	# PCI-PCI bridges
#pci*		at ppb? bus ?

#### USB
#uhci*		at pci? dev ? function ?

#### SCSI support
#siop*		at pci? dev ? function ?	# Symbios/NCR 53c...
#scsibus*	at siop?
#sd*		at scsibus? target ? lun ? 
#cd*		at scsibus? target ? lun ? 

#### Networking Devices
#gt0		at localbus? base 4
#gt1		at localbus? base 5
#gt2		at localbus? base 6
# fxp normally only used for debugging (enable/disable both)
fxp0            at pci? dev ? function ?        # Intel 82559 Device
inphy*          at mii? phy ?                   # Intel 82555 PHYs
rtl*        at pci? dev ? function ?

##########82546 
#82546 use a lot of memory so setup NKMEMCLUSTERS as bellow
#         #define NKMEMCLUSTERS   (16 * 1024 * 1024 / CLBYTES)	/* 0.5Mb */
em*            at pci? dev ? function ?        # Intel 82559 Device

#uhci*		 at pci? dev ? function ?
#ohci0		 at pci? dev ? function ?
#usb0		 at usbbus ? 
#ohci1		 at pci? dev ? function ?

#select      mod_usb
#select  	mod_usb_storage
#select      mod_usb_uhci
#select 	 	mod_usb_ohci
#select      mod_usb_kbd

#### IDE controllers
pciide* 	at pci ? dev ? function ? flags 0x0000

#### IDE hard drives
wd*		at pciide? channel ? drive ? flags 0x0000

#### Pseudo devices
pseudo-device	loop	1	# network loopback

ide_cd* 	at pciide? channel ? drive ? flags 0x0001
select 		iso9660
select		godson2c
#option HAVE_NB_SERIAL
#option WDC_NORESET
