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