Home | History | Annotate | Line # | Download | only in conf
MILAN.in revision 1.29
      1 #
      2 #	$NetBSD: MILAN.in,v 1.29 2019/05/04 13:12:03 tsutsui Exp $
      3 #
      4 # Milan
      5 #
      6 # This configuration file is for a generic Milan
      7 #
      8 
      9 #include "GENERIC.in"
     10 
     11 #
     12 # For the moment, the MILAN will be the only one to use wscons, so define
     13 # the wscons options here too for the moment.
     14 # wscons options
     15 #
     16 # builtin terminal emulations
     17 #options 	WSEMUL_SUN	# sun terminal emulation
     18 options 	WSEMUL_VT100	# VT100 / VT220 emulation
     19 # different kernel output - see dev/wscons/wsdisplayvar.h
     20 # XXX:	Since the Milan VGA works in monochrome for the moment, _only_
     21 #	use black and white here!
     22 options 	WS_KERNEL_FG=WSCOL_WHITE
     23 options 	WS_KERNEL_BG=WSCOL_BLACK
     24 
     25 # compatibility to other console drivers
     26 options 	WSDISPLAY_COMPAT_USL	# wsconscfg VT handling
     27 #options 	WSDISPLAY_COMPAT_RAWKBD	# can get raw scancodes
     28 
     29 # see dev/pckbport/wskbdmap_mfii.c for implemented layouts
     30 #options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
     31 # allocate a number of virtual screens at autoconfiguration time
     32 options 	WSDISPLAY_DEFAULTSCREENS=4
     33 # use a large software cursor that doesn't blink
     34 options 	PCDISPLAY_SOFTCURSOR
     35 # modify the screen type of the console; defaults to "80x25"
     36 #options 	VGA_CONSOLE_SCREENTYPE="\"80x25\""
     37 
     38 #
     39 # The following sections describe various hardware options.
     40 #
     41 
     42 isab0 		at mainbus0			# ISA-bus
     43 isa0 		at isab0
     44 pcib0 		at mainbus0			# PCI-bus
     45 pci0 		at pcib0
     46 nvr0 		at mainbus0			# nvram driver
     47 ser0 		at mainbus0
     48 fdcisa0 	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy contr.
     49 fdisa0 		at fdcisa0 drive 0
     50 
     51 #
     52 # Ok, the stuff below requires some explanation...
     53 # Initially, when Atari started with IDE on the Falcon, they decided to
     54 # swap the bytelanes on the IDE controller. So all data on the disk was
     55 # byteswapped and all CDROM drivers had to byteswap the data to make
     56 # this nice idea work... To remain compatible with the 'current' drivers,
     57 # this scheme was adopted by the Hades hardware (hence wdc_mb.c). On the Milan
     58 # however, the change was reverted. But... now the hardware is connected to
     59 # a little endian (ISA) bus, in PIO mode this is essentially the same as
     60 # swapping the bytelanes. The fun starts when you use the PCIIDE DMA mode
     61 # provided by the PCI_ISA bridge on the Milan. CDROM's are OK, but the data
     62 # on the disk is swapped :-( Now luckily, both the Milan and HDDRIVER
     63 # developers have thought up a solution, you can make a byteswapped disk
     64 # during the partitioning with HDDRIVER and TOS supports booting from it!
     65 # Ok, now you have to choose:
     66 #   - If _none_ of your disks are marked byteswapped by HDDRIVER, choose
     67 #     the MILAN-ISAIDE version.
     68 #   - If _all_ of your disks are byteswapped, use the  MILAN-PCIIDE version
     69 # The is no way to mix things!
     70 #
     71 
     72 #if defined(MILAN_ISAIDE)
     73 # wdc on ISA with flags = WDC_OPTIONS_ATA_NOSTREAM!
     74 wdc0 		at isa? port 0x1f0 irq 14 flags 0x04	# 1st IDE controller
     75 wdc1 		at isa? port 0x170 irq 15 flags 0x04	# 2nd IDE controller
     76 #endif /* MILAN_ISAIDE */
     77 
     78 #if defined(MILAN_PCIIDE)
     79 pciide* 	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
     80 #acardide*	at pci? dev ? function ?	# Acard IDE controllers
     81 #aceride* 	at pci? dev ? function ?	# Acer Lab IDE controllers
     82 #artsata*	at pci? dev ? function ?	# Intel i31244 SATA controller
     83 #cmdide* 	at pci? dev ? function ?	# CMD tech IDE controllers
     84 #cypide* 	at pci? dev ? function ?	# Cypress IDE controllers
     85 #hptide* 	at pci? dev ? function ?	# Triones/HighPoint IDE controllers
     86 #optiide* 	at pci? dev ? function ?	# Opti IDE controllers
     87 #pdcide* 	at pci? dev ? function ?	# Promise IDE controllers
     88 #pdcsata* 	at pci? dev ? function ?	# Promise SATA150 controllers
     89 piixide* 	at pci? dev ? function ?	# Intel IDE controllers
     90 #satalink*	at pci? dev ? function ?	# SiI SATALink controllers
     91 #siside* 	at pci? dev ? function ?	# SiS IDE controllers
     92 #slide*  	at pci? dev ? function ?	# Symphony Labs IDE controllers
     93 #viaide* 	at pci? dev ? function ?	# VIA/AMD/Nvidia IDE controllers
     94 #endif /* MILAN_PCIIDE */
     95 
     96 atabus*		at ata? channel ?
     97 
     98 #
     99 # The Milan uses wscons
    100 #
    101 vga0 		at pci? dev ? function ?	# a PCI VGA card
    102 wsdisplay* 	at vga? console ?		# as a wscons console
    103 pckbc0 		at isa? 			# PC keyboard controller
    104 pckbd* 		at pckbc?			# PC keyboard
    105 pms*		at pckbc?			# PS/2 mouse
    106 wskbd* 		at pckbd? console ?		# wscons keyboard
    107 wsmouse*	at pms?				# wscons mouse
    108 pseudo-device	wsmux				# mouse & keyboard multiplexor
    109 
    110 # ATA devices
    111 wd*		at atabus? drive ?
    112 atapibus* 	at atabus?				# ATAPI bus support
    113 # ATAPI devices
    114 cd* 		at atapibus? drive ?		# ATAPI CD-ROM drives
    115