Remove forceagp support
authorChristian Hofstaedtler <ch@grml.org>
Wed, 16 Nov 2011 10:11:27 +0000 (11:11 +0100)
committerChristian Hofstaedtler <ch@grml.org>
Wed, 16 Nov 2011 10:11:27 +0000 (11:11 +0100)
Code relied on /proc/pci which is long gone.

autoconfig
autoconfig.functions
grml-autoconfig

index 45da179..dd3eb5a 100644 (file)
@@ -48,7 +48,6 @@ CONFIG_GPM='yes'
 # Notice! Do not touch the following options except you really know
 # what you are doing!
 CONFIG_915RESOLUTION='yes'    # run 915resolution with specified options for adjusting resolution
 # Notice! Do not touch the following options except you really know
 # what you are doing!
 CONFIG_915RESOLUTION='yes'    # run 915resolution with specified options for adjusting resolution
-CONFIG_AGP='yes'              # check for bootparam forceagp
 CONFIG_AUTOMOUNT='yes'        # automounting of device labeled GRMLCFG
 CONFIG_BLANKING='yes'         # check for bootoption noblank to disable console blanking
 CONFIG_CONFIG='yes'           # do we want config unpacking to work?
 CONFIG_AUTOMOUNT='yes'        # automounting of device labeled GRMLCFG
 CONFIG_BLANKING='yes'         # check for bootoption noblank to disable console blanking
 CONFIG_CONFIG='yes'           # do we want config unpacking to work?
index 8fa87a9..9c1bb65 100755 (executable)
@@ -744,15 +744,6 @@ fi
 }
 # }}}
 
 }
 # }}}
 
-# {{{ AGP
-config_agp(){
-if checkbootparam 'forceagp' ; then
-# Probe for AGP. Hope this can fail safely
-  grep -q "AGP" "/proc/pci" 2>>$DEBUG && { modprobe agpgart || modprobe agpgart agp_try_unsupported=1; } >>$DEBUG 2>&1 && einfo "AGP bridge detected." ; eend 0
-fi
-}
-# }}}
-
 # {{{ Collect partitions from /proc/partitions first for enabling DMA
 check_partitions(){
 partitions=""
 # {{{ Collect partitions from /proc/partitions first for enabling DMA
 check_partitions(){
 partitions=""
index 82594b7..8249367 100755 (executable)
@@ -146,8 +146,6 @@ checkvalue $CONFIG_ACPI_APM && config_acpi_apm
 
 [ -n "$SPLASH" ] &&  /usr/bin/grml-bootsplash "||||||">/dev/tty14
 
 
 [ -n "$SPLASH" ] &&  /usr/bin/grml-bootsplash "||||||">/dev/tty14
 
-checkvalue $CONFIG_AGP && config_agp
-
 checkvalue $CONFIG_DMA && config_dma
 
 checkvalue $CONFIG_FSTAB && config_fstab
 checkvalue $CONFIG_DMA && config_dma
 
 checkvalue $CONFIG_FSTAB && config_fstab