From 752c59eb0ab37ca75bb410052aaf40514818cd54 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Thu, 14 Dec 2000 23:47:36 +0000 Subject: - do progressbar since it seems nobody can live without it - write real separation between cdrom, disk, and network code; have multiple targets for that issue - begin network code: network interface is up and runing (static IP only), network is configured --- mdk-stage1/pci-resource/Makefile | 6 +++--- mdk-stage1/pci-resource/update-pci-ids.pl | 7 ++++++- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'mdk-stage1/pci-resource') diff --git a/mdk-stage1/pci-resource/Makefile b/mdk-stage1/pci-resource/Makefile index ed16b6f67..84d335c91 100644 --- a/mdk-stage1/pci-resource/Makefile +++ b/mdk-stage1/pci-resource/Makefile @@ -13,12 +13,12 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # - # Portions from Erik Troan (ewt@redhat.com) Copyright 1996 Red Hat Software - # #***************************************************************************** -pci-ids.h: ../../perl-install/pci_probing/pcitable +all: pci-ids.h + +pci-ids.h: ../../perl-install/pci_probing/pcitable update-pci-ids.pl make -C ../../perl-install/pci_probing perl update-pci-ids.pl > $@ diff --git a/mdk-stage1/pci-resource/update-pci-ids.pl b/mdk-stage1/pci-resource/update-pci-ids.pl index 4aaa04b70..396621faa 100755 --- a/mdk-stage1/pci-resource/update-pci-ids.pl +++ b/mdk-stage1/pci-resource/update-pci-ids.pl @@ -19,6 +19,9 @@ struct pci_module_map { my %t = (scsi => 'scsi', eth => 'net'); foreach (keys %t) { + print "#ifndef DISABLE_NETWORK\n" if ($_ eq 'eth'); + print "#ifndef DISABLE_MEDIAS\n" if ($_ eq 'scsi'); + print " struct pci_module_map ${_}_pci_ids[] = { "; @@ -36,6 +39,8 @@ struct pci_module_map ${_}_pci_ids[] = { print " }; int ${_}_num_ids=sizeof(${_}_pci_ids)/sizeof(struct pci_module_map); -" +"; + + print "#endif\n"; } -- cgit v1.2.1