Moved PCI driver to the ramdisk.

This commit is contained in:
Philip Homburg
2006-02-15 14:21:56 +00:00
parent 1116853ae9
commit 7034c0795d
23 changed files with 58 additions and 21 deletions

View File

@@ -48,6 +48,7 @@ clean:
depend:
/usr/bin/mkdep "$(CC) -E $(CPPFLAGS)" *.c ../libdriver/*.c > .depend
cd ramdisk && make depend
# Include generated dependencies.
include .depend

View File

@@ -1,7 +1,7 @@
# Makefile for ramdisk image
PROGRAMS=at_wini bios_wini cdprobe dev2name floppy loadramdisk newroot \
sh service sysenv
pci sh service sysenv
all: image.c
@@ -37,6 +37,12 @@ floppy: ../../floppy/floppy
../../floppy/floppy:
cd ../../floppy && make
pci: ../../pci/pci
install -s ../../$@/$@ $@
../../pci/pci:
cd ../../pci && make
cdprobe: ../../../commands/simple/cdprobe
install -s ../../../commands/simple/$@ $@
@@ -79,3 +85,9 @@ service: ../../../servers/rs/service
../../../servers/rs/service:
cd ../../../servers/rs && make service
depend:
/usr/bin/mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
# Include generated dependencies.
include .depend

View File

@@ -1,5 +1,5 @@
boot
200 100
240 100
d--755 0 0
bin d--755 0 0
at_wini ---755 0 0 at_wini
@@ -9,6 +9,7 @@ d--755 0 0
floppy ---755 0 0 floppy
loadramdisk ---755 0 0 loadramdisk
newroot ---755 0 0 newroot
pci ---755 0 0 pci
sh ---755 0 0 sh
service ---755 0 0 service
sysenv ---755 0 0 sysenv

View File

@@ -1,5 +1,6 @@
#!/bin/sh
set -e
/bin/service up /bin/pci
/bin/service up /bin/floppy -dev /dev/fd0
if [ X`/bin/sysenv bios_wini` = Xyes ]
then