From: Christian Hofstaedtler Date: Wed, 16 Nov 2011 10:11:27 +0000 (+0100) Subject: Remove forceagp support X-Git-Tag: v0.9.34~13 X-Git-Url: http://git.grml.org/?p=grml-autoconfig.git;a=commitdiff_plain;h=84fb68bfac359c3d16704710c846fba706acb52f Remove forceagp support Code relied on /proc/pci which is long gone. --- diff --git a/autoconfig b/autoconfig index 45da179..dd3eb5a 100644 --- a/autoconfig +++ b/autoconfig @@ -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 -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? diff --git a/autoconfig.functions b/autoconfig.functions index 8fa87a9..9c1bb65 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -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="" diff --git a/grml-autoconfig b/grml-autoconfig index 82594b7..8249367 100755 --- a/grml-autoconfig +++ b/grml-autoconfig @@ -146,8 +146,6 @@ checkvalue $CONFIG_ACPI_APM && config_acpi_apm [ -n "$SPLASH" ] && /usr/bin/grml-bootsplash "||||||">/dev/tty14 -checkvalue $CONFIG_AGP && config_agp - checkvalue $CONFIG_DMA && config_dma checkvalue $CONFIG_FSTAB && config_fstab