ia64/xen-unstable

changeset 2433:83ed216eb7c3

bitkeeper revision 1.1159.69.15 (413a8e98X2LuwKBOkOzn7uAjeL2KWA)

Add full driver configurability for device-capable Linux.
author kaf24@freefall.cl.cam.ac.uk
date Sun Sep 05 03:57:12 2004 +0000 (2004-09-05)
parents b7339d01b3a3
children 75ba907f8ccf
files linux-2.6.8.1-xen-sparse/arch/xen/Kconfig.drivers linux-2.6.8.1-xen-sparse/arch/xen/configs/xen0_defconfig linux-2.6.8.1-xen-sparse/arch/xen/configs/xenU_defconfig
line diff
     1.1 --- a/linux-2.6.8.1-xen-sparse/arch/xen/Kconfig.drivers	Sun Sep 05 00:51:20 2004 +0000
     1.2 +++ b/linux-2.6.8.1-xen-sparse/arch/xen/Kconfig.drivers	Sun Sep 05 03:57:12 2004 +0000
     1.3 @@ -4,84 +4,52 @@ menu "Device Drivers"
     1.4  
     1.5  source "drivers/base/Kconfig"
     1.6  
     1.7 -source "drivers/scsi/Kconfig"
     1.8 +if XEN_PHYSDEV_ACCESS
     1.9 +source "drivers/mtd/Kconfig"
    1.10 +source "drivers/parport/Kconfig"
    1.11 +source "drivers/pnp/Kconfig"
    1.12 +endif
    1.13 +
    1.14  source "drivers/block/Kconfig"
    1.15 -source "drivers/md/Kconfig"
    1.16 -
    1.17 -# Always include scsi and block to enable iscsi, loop0 etc.
    1.18  
    1.19  if XEN_PHYSDEV_ACCESS
    1.20  source "drivers/ide/Kconfig"
    1.21 +endif
    1.22 +
    1.23 +source "drivers/scsi/Kconfig"
    1.24 +
    1.25 +if XEN_PHYSDEV_ACCESS
    1.26  source "drivers/cdrom/Kconfig"
    1.27  endif
    1.28  
    1.29 +source "drivers/md/Kconfig"
    1.30 +
    1.31 +if XEN_PHYSDEV_ACCESS
    1.32 +source "drivers/message/fusion/Kconfig"
    1.33 +source "drivers/ieee1394/Kconfig"
    1.34 +source "drivers/message/i2o/Kconfig"
    1.35 +endif
    1.36 +
    1.37  source "net/Kconfig"
    1.38  
    1.39 -if XEN_PRIVILEGED_GUEST
    1.40 +if XEN_PHYSDEV_ACCESS
    1.41 +source "drivers/isdn/Kconfig"
    1.42 +source "drivers/telephony/Kconfig"
    1.43  source "drivers/input/Kconfig"
    1.44 -endif
    1.45 -
    1.46 -config INPUT
    1.47 -	tristate "Input devices (needed for keyboard, mouse, ...)" if EMBEDDED
    1.48 -	default y
    1.49 -	---help---
    1.50 -	  Say Y here if you have any input device (mouse, keyboard, tablet,
    1.51 -	  joystick, steering wheel ...) connected to your system and want
    1.52 -	  it to be available to applications. This includes standard PS/2
    1.53 -	  keyboard and mouse.
    1.54 -
    1.55 -	  Say N here if you have a headless (no monitor, no keyboard) system.
    1.56 -
    1.57 -	  More information is available: <file:Documentation/input/input.txt>
    1.58 -
    1.59 -	  If unsure, say Y.
    1.60 -
    1.61 -	  To compile this driver as a module, choose M here: the
    1.62 -	  module will be called input.
    1.63 -
    1.64 -if XEN_PRIVILEGED_GUEST
    1.65  source "drivers/char/Kconfig"
    1.66 +source "drivers/i2c/Kconfig"
    1.67 +source "drivers/w1/Kconfig"
    1.68 +source "drivers/misc/Kconfig"
    1.69 +source "drivers/media/Kconfig"
    1.70 +source "drivers/video/Kconfig"
    1.71 +source "sound/Kconfig"
    1.72 +source "drivers/usb/Kconfig"
    1.73  endif
    1.74  
    1.75 +if !XEN_PHYSDEV_ACCESS
    1.76  config UNIX98_PTYS
    1.77 -	bool "Unix98 PTY support" if EMBEDDED
    1.78 +	bool
    1.79  	default y
    1.80 -	---help---
    1.81 -	  A pseudo terminal (PTY) is a software device consisting of two
    1.82 -	  halves: a master and a slave. The slave device behaves identical to
    1.83 -	  a physical terminal; the master device is used by a process to
    1.84 -	  read data from and write data to the slave, thereby emulating a
    1.85 -	  terminal. Typical programs for the master side are telnet servers
    1.86 -	  and xterms.
    1.87 -
    1.88 -	  Linux has traditionally used the BSD-like names /dev/ptyxx for
    1.89 -	  masters and /dev/ttyxx for slaves of pseudo terminals. This scheme
    1.90 -	  has a number of problems. The GNU C library glibc 2.1 and later,
    1.91 -	  however, supports the Unix98 naming standard: in order to acquire a
    1.92 -	  pseudo terminal, a process opens /dev/ptmx; the number of the pseudo
    1.93 -	  terminal is then made available to the process and the pseudo
    1.94 -	  terminal slave can be accessed as /dev/pts/<number>. What was
    1.95 -	  traditionally /dev/ttyp2 will then be /dev/pts/2, for example.
    1.96 -
    1.97 -	  All modern Linux systems use the Unix98 ptys.  Say Y unless
    1.98 -	  you're on an embedded system and want to conserve memory.
    1.99 -
   1.100 -
   1.101 -if XEN_PHYSDEV_ACCESS
   1.102 -source "drivers/i2c/Kconfig"
   1.103 -source "drivers/video/Kconfig"
   1.104  endif
   1.105  
   1.106 -#config XEN_EVTCHN
   1.107 -#	bool "Xen Event Channel"
   1.108 -#	depends on XEN
   1.109 -#	default Y
   1.110 -#
   1.111 -#config XEN_CONSOLE
   1.112 -#	bool "Xen Console"
   1.113 -#	depends on XEN && XEN_EVTCHN
   1.114 -#	default Y
   1.115 -#	help
   1.116 -#	  Say Y to build a console driver for Xen.
   1.117 -
   1.118  endmenu
     2.1 --- a/linux-2.6.8.1-xen-sparse/arch/xen/configs/xen0_defconfig	Sun Sep 05 00:51:20 2004 +0000
     2.2 +++ b/linux-2.6.8.1-xen-sparse/arch/xen/configs/xen0_defconfig	Sun Sep 05 03:57:12 2004 +0000
     2.3 @@ -176,6 +176,105 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y
     2.4  # CONFIG_DEBUG_DRIVER is not set
     2.5  
     2.6  #
     2.7 +# Memory Technology Devices (MTD)
     2.8 +#
     2.9 +# CONFIG_MTD is not set
    2.10 +
    2.11 +#
    2.12 +# Parallel port support
    2.13 +#
    2.14 +# CONFIG_PARPORT is not set
    2.15 +
    2.16 +#
    2.17 +# Plug and Play support
    2.18 +#
    2.19 +# CONFIG_PNP is not set
    2.20 +
    2.21 +#
    2.22 +# Block devices
    2.23 +#
    2.24 +# CONFIG_BLK_DEV_FD is not set
    2.25 +# CONFIG_BLK_DEV_XD is not set
    2.26 +# CONFIG_BLK_CPQ_DA is not set
    2.27 +# CONFIG_BLK_CPQ_CISS_DA is not set
    2.28 +# CONFIG_BLK_DEV_DAC960 is not set
    2.29 +# CONFIG_BLK_DEV_UMEM is not set
    2.30 +CONFIG_BLK_DEV_LOOP=y
    2.31 +# CONFIG_BLK_DEV_CRYPTOLOOP is not set
    2.32 +CONFIG_BLK_DEV_NBD=y
    2.33 +# CONFIG_BLK_DEV_SX8 is not set
    2.34 +CONFIG_BLK_DEV_RAM=y
    2.35 +CONFIG_BLK_DEV_RAM_SIZE=4096
    2.36 +CONFIG_BLK_DEV_INITRD=y
    2.37 +# CONFIG_LBD is not set
    2.38 +
    2.39 +#
    2.40 +# ATA/ATAPI/MFM/RLL support
    2.41 +#
    2.42 +CONFIG_IDE=y
    2.43 +CONFIG_BLK_DEV_IDE=y
    2.44 +
    2.45 +#
    2.46 +# Please see Documentation/ide.txt for help/info on IDE drives
    2.47 +#
    2.48 +# CONFIG_BLK_DEV_IDE_SATA is not set
    2.49 +# CONFIG_BLK_DEV_HD_IDE is not set
    2.50 +CONFIG_BLK_DEV_IDEDISK=y
    2.51 +# CONFIG_IDEDISK_MULTI_MODE is not set
    2.52 +# CONFIG_BLK_DEV_IDECS is not set
    2.53 +CONFIG_BLK_DEV_IDECD=y
    2.54 +# CONFIG_BLK_DEV_IDETAPE is not set
    2.55 +# CONFIG_BLK_DEV_IDEFLOPPY is not set
    2.56 +# CONFIG_BLK_DEV_IDESCSI is not set
    2.57 +# CONFIG_IDE_TASK_IOCTL is not set
    2.58 +# CONFIG_IDE_TASKFILE_IO is not set
    2.59 +
    2.60 +#
    2.61 +# IDE chipset support/bugfixes
    2.62 +#
    2.63 +CONFIG_IDE_GENERIC=y
    2.64 +# CONFIG_BLK_DEV_CMD640 is not set
    2.65 +CONFIG_BLK_DEV_IDEPCI=y
    2.66 +# CONFIG_IDEPCI_SHARE_IRQ is not set
    2.67 +# CONFIG_BLK_DEV_OFFBOARD is not set
    2.68 +CONFIG_BLK_DEV_GENERIC=y
    2.69 +# CONFIG_BLK_DEV_OPTI621 is not set
    2.70 +# CONFIG_BLK_DEV_RZ1000 is not set
    2.71 +CONFIG_BLK_DEV_IDEDMA_PCI=y
    2.72 +# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
    2.73 +CONFIG_IDEDMA_PCI_AUTO=y
    2.74 +# CONFIG_IDEDMA_ONLYDISK is not set
    2.75 +CONFIG_BLK_DEV_ADMA=y
    2.76 +# CONFIG_BLK_DEV_AEC62XX is not set
    2.77 +# CONFIG_BLK_DEV_ALI15X3 is not set
    2.78 +# CONFIG_BLK_DEV_AMD74XX is not set
    2.79 +# CONFIG_BLK_DEV_ATIIXP is not set
    2.80 +# CONFIG_BLK_DEV_CMD64X is not set
    2.81 +# CONFIG_BLK_DEV_TRIFLEX is not set
    2.82 +# CONFIG_BLK_DEV_CY82C693 is not set
    2.83 +# CONFIG_BLK_DEV_CS5520 is not set
    2.84 +# CONFIG_BLK_DEV_CS5530 is not set
    2.85 +# CONFIG_BLK_DEV_HPT34X is not set
    2.86 +# CONFIG_BLK_DEV_HPT366 is not set
    2.87 +# CONFIG_BLK_DEV_SC1200 is not set
    2.88 +CONFIG_BLK_DEV_PIIX=y
    2.89 +# CONFIG_BLK_DEV_NS87415 is not set
    2.90 +# CONFIG_BLK_DEV_PDC202XX_OLD is not set
    2.91 +# CONFIG_BLK_DEV_PDC202XX_NEW is not set
    2.92 +CONFIG_BLK_DEV_SVWKS=y
    2.93 +# CONFIG_BLK_DEV_SIIMAGE is not set
    2.94 +# CONFIG_BLK_DEV_SIS5513 is not set
    2.95 +# CONFIG_BLK_DEV_SLC90E66 is not set
    2.96 +# CONFIG_BLK_DEV_TRM290 is not set
    2.97 +# CONFIG_BLK_DEV_VIA82CXXX is not set
    2.98 +# CONFIG_IDE_ARM is not set
    2.99 +# CONFIG_IDE_CHIPSETS is not set
   2.100 +CONFIG_BLK_DEV_IDEDMA=y
   2.101 +# CONFIG_IDEDMA_IVB is not set
   2.102 +CONFIG_IDEDMA_AUTO=y
   2.103 +# CONFIG_BLK_DEV_HD is not set
   2.104 +
   2.105 +#
   2.106  # SCSI device support
   2.107  #
   2.108  CONFIG_SCSI=y
   2.109 @@ -295,22 +394,9 @@ CONFIG_SCSI_QLA2XXX=y
   2.110  # CONFIG_PCMCIA_SYM53C500 is not set
   2.111  
   2.112  #
   2.113 -# Block devices
   2.114 +# Old CD-ROM drivers (not SCSI, not IDE)
   2.115  #
   2.116 -# CONFIG_BLK_DEV_FD is not set
   2.117 -# CONFIG_BLK_DEV_XD is not set
   2.118 -# CONFIG_BLK_CPQ_DA is not set
   2.119 -# CONFIG_BLK_CPQ_CISS_DA is not set
   2.120 -# CONFIG_BLK_DEV_DAC960 is not set
   2.121 -# CONFIG_BLK_DEV_UMEM is not set
   2.122 -CONFIG_BLK_DEV_LOOP=y
   2.123 -# CONFIG_BLK_DEV_CRYPTOLOOP is not set
   2.124 -CONFIG_BLK_DEV_NBD=y
   2.125 -# CONFIG_BLK_DEV_SX8 is not set
   2.126 -CONFIG_BLK_DEV_RAM=y
   2.127 -CONFIG_BLK_DEV_RAM_SIZE=4096
   2.128 -CONFIG_BLK_DEV_INITRD=y
   2.129 -# CONFIG_LBD is not set
   2.130 +# CONFIG_CD_NO_IDESCSI is not set
   2.131  
   2.132  #
   2.133  # Multi-device support (RAID and LVM)
   2.134 @@ -330,75 +416,19 @@ CONFIG_DM_MIRROR=y
   2.135  # CONFIG_DM_ZERO is not set
   2.136  
   2.137  #
   2.138 -# ATA/ATAPI/MFM/RLL support
   2.139 -#
   2.140 -CONFIG_IDE=y
   2.141 -CONFIG_BLK_DEV_IDE=y
   2.142 -
   2.143 -#
   2.144 -# Please see Documentation/ide.txt for help/info on IDE drives
   2.145 +# Fusion MPT device support
   2.146  #
   2.147 -# CONFIG_BLK_DEV_IDE_SATA is not set
   2.148 -# CONFIG_BLK_DEV_HD_IDE is not set
   2.149 -CONFIG_BLK_DEV_IDEDISK=y
   2.150 -# CONFIG_IDEDISK_MULTI_MODE is not set
   2.151 -# CONFIG_BLK_DEV_IDECS is not set
   2.152 -CONFIG_BLK_DEV_IDECD=y
   2.153 -# CONFIG_BLK_DEV_IDETAPE is not set
   2.154 -# CONFIG_BLK_DEV_IDEFLOPPY is not set
   2.155 -# CONFIG_BLK_DEV_IDESCSI is not set
   2.156 -# CONFIG_IDE_TASK_IOCTL is not set
   2.157 -# CONFIG_IDE_TASKFILE_IO is not set
   2.158 +# CONFIG_FUSION is not set
   2.159  
   2.160  #
   2.161 -# IDE chipset support/bugfixes
   2.162 +# IEEE 1394 (FireWire) support
   2.163  #
   2.164 -CONFIG_IDE_GENERIC=y
   2.165 -# CONFIG_BLK_DEV_CMD640 is not set
   2.166 -CONFIG_BLK_DEV_IDEPCI=y
   2.167 -# CONFIG_IDEPCI_SHARE_IRQ is not set
   2.168 -# CONFIG_BLK_DEV_OFFBOARD is not set
   2.169 -CONFIG_BLK_DEV_GENERIC=y
   2.170 -# CONFIG_BLK_DEV_OPTI621 is not set
   2.171 -# CONFIG_BLK_DEV_RZ1000 is not set
   2.172 -CONFIG_BLK_DEV_IDEDMA_PCI=y
   2.173 -# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
   2.174 -CONFIG_IDEDMA_PCI_AUTO=y
   2.175 -# CONFIG_IDEDMA_ONLYDISK is not set
   2.176 -CONFIG_BLK_DEV_ADMA=y
   2.177 -# CONFIG_BLK_DEV_AEC62XX is not set
   2.178 -# CONFIG_BLK_DEV_ALI15X3 is not set
   2.179 -# CONFIG_BLK_DEV_AMD74XX is not set
   2.180 -# CONFIG_BLK_DEV_ATIIXP is not set
   2.181 -# CONFIG_BLK_DEV_CMD64X is not set
   2.182 -# CONFIG_BLK_DEV_TRIFLEX is not set
   2.183 -# CONFIG_BLK_DEV_CY82C693 is not set
   2.184 -# CONFIG_BLK_DEV_CS5520 is not set
   2.185 -# CONFIG_BLK_DEV_CS5530 is not set
   2.186 -# CONFIG_BLK_DEV_HPT34X is not set
   2.187 -# CONFIG_BLK_DEV_HPT366 is not set
   2.188 -# CONFIG_BLK_DEV_SC1200 is not set
   2.189 -CONFIG_BLK_DEV_PIIX=y
   2.190 -# CONFIG_BLK_DEV_NS87415 is not set
   2.191 -# CONFIG_BLK_DEV_PDC202XX_OLD is not set
   2.192 -# CONFIG_BLK_DEV_PDC202XX_NEW is not set
   2.193 -CONFIG_BLK_DEV_SVWKS=y
   2.194 -# CONFIG_BLK_DEV_SIIMAGE is not set
   2.195 -# CONFIG_BLK_DEV_SIS5513 is not set
   2.196 -# CONFIG_BLK_DEV_SLC90E66 is not set
   2.197 -# CONFIG_BLK_DEV_TRM290 is not set
   2.198 -# CONFIG_BLK_DEV_VIA82CXXX is not set
   2.199 -# CONFIG_IDE_ARM is not set
   2.200 -# CONFIG_IDE_CHIPSETS is not set
   2.201 -CONFIG_BLK_DEV_IDEDMA=y
   2.202 -# CONFIG_IDEDMA_IVB is not set
   2.203 -CONFIG_IDEDMA_AUTO=y
   2.204 -# CONFIG_BLK_DEV_HD is not set
   2.205 +# CONFIG_IEEE1394 is not set
   2.206  
   2.207  #
   2.208 -# Old CD-ROM drivers (not SCSI, not IDE)
   2.209 +# I2O device support
   2.210  #
   2.211 -# CONFIG_CD_NO_IDESCSI is not set
   2.212 +# CONFIG_I2O is not set
   2.213  
   2.214  #
   2.215  # Networking support
   2.216 @@ -646,6 +676,16 @@ CONFIG_TIGON3=y
   2.217  # CONFIG_NETCONSOLE is not set
   2.218  
   2.219  #
   2.220 +# ISDN subsystem
   2.221 +#
   2.222 +# CONFIG_ISDN is not set
   2.223 +
   2.224 +#
   2.225 +# Telephony Support
   2.226 +#
   2.227 +# CONFIG_PHONE is not set
   2.228 +
   2.229 +#
   2.230  # Input device support
   2.231  #
   2.232  CONFIG_INPUT=y
   2.233 @@ -753,6 +793,26 @@ CONFIG_LEGACY_PTY_COUNT=256
   2.234  # CONFIG_I2C is not set
   2.235  
   2.236  #
   2.237 +# Dallas's 1-wire bus
   2.238 +#
   2.239 +# CONFIG_W1 is not set
   2.240 +
   2.241 +#
   2.242 +# Misc devices
   2.243 +#
   2.244 +# CONFIG_IBM_ASM is not set
   2.245 +
   2.246 +#
   2.247 +# Multimedia devices
   2.248 +#
   2.249 +# CONFIG_VIDEO_DEV is not set
   2.250 +
   2.251 +#
   2.252 +# Digital Video Broadcasting Devices
   2.253 +#
   2.254 +# CONFIG_DVB is not set
   2.255 +
   2.256 +#
   2.257  # Graphics support
   2.258  #
   2.259  # CONFIG_FB is not set
   2.260 @@ -766,6 +826,21 @@ CONFIG_VGA_CONSOLE=y
   2.261  CONFIG_DUMMY_CONSOLE=y
   2.262  
   2.263  #
   2.264 +# Sound
   2.265 +#
   2.266 +# CONFIG_SOUND is not set
   2.267 +
   2.268 +#
   2.269 +# USB support
   2.270 +#
   2.271 +# CONFIG_USB is not set
   2.272 +
   2.273 +#
   2.274 +# USB Gadget Support
   2.275 +#
   2.276 +# CONFIG_USB_GADGET is not set
   2.277 +
   2.278 +#
   2.279  # File systems
   2.280  #
   2.281  CONFIG_EXT2_FS=y
     3.1 --- a/linux-2.6.8.1-xen-sparse/arch/xen/configs/xenU_defconfig	Sun Sep 05 00:51:20 2004 +0000
     3.2 +++ b/linux-2.6.8.1-xen-sparse/arch/xen/configs/xenU_defconfig	Sun Sep 05 03:57:12 2004 +0000
     3.3 @@ -132,6 +132,18 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y
     3.4  # CONFIG_FW_LOADER is not set
     3.5  
     3.6  #
     3.7 +# Block devices
     3.8 +#
     3.9 +# CONFIG_BLK_DEV_FD is not set
    3.10 +CONFIG_BLK_DEV_LOOP=m
    3.11 +# CONFIG_BLK_DEV_CRYPTOLOOP is not set
    3.12 +CONFIG_BLK_DEV_NBD=m
    3.13 +CONFIG_BLK_DEV_RAM=y
    3.14 +CONFIG_BLK_DEV_RAM_SIZE=4096
    3.15 +CONFIG_BLK_DEV_INITRD=y
    3.16 +# CONFIG_LBD is not set
    3.17 +
    3.18 +#
    3.19  # SCSI device support
    3.20  #
    3.21  CONFIG_SCSI=m
    3.22 @@ -168,18 +180,6 @@ CONFIG_BLK_DEV_SD=m
    3.23  # CONFIG_SCSI_DEBUG is not set
    3.24  
    3.25  #
    3.26 -# Block devices
    3.27 -#
    3.28 -# CONFIG_BLK_DEV_FD is not set
    3.29 -CONFIG_BLK_DEV_LOOP=m
    3.30 -# CONFIG_BLK_DEV_CRYPTOLOOP is not set
    3.31 -CONFIG_BLK_DEV_NBD=m
    3.32 -CONFIG_BLK_DEV_RAM=y
    3.33 -CONFIG_BLK_DEV_RAM_SIZE=4096
    3.34 -CONFIG_BLK_DEV_INITRD=y
    3.35 -# CONFIG_LBD is not set
    3.36 -
    3.37 -#
    3.38  # Multi-device support (RAID and LVM)
    3.39  #
    3.40  # CONFIG_MD is not set
    3.41 @@ -283,7 +283,6 @@ CONFIG_NETDEVICES=y
    3.42  # CONFIG_SLIP is not set
    3.43  # CONFIG_SHAPER is not set
    3.44  # CONFIG_NETCONSOLE is not set
    3.45 -CONFIG_INPUT=y
    3.46  CONFIG_UNIX98_PTYS=y
    3.47  
    3.48  #