Convert drivers/ and servers/ over to bsdmake
-Move libdriver to lib/ -Install all boot image services on filesystem to aid restartability
This commit is contained in:
parent
c33102ea6b
commit
436d6012a3
4
Makefile
4
Makefile
|
@ -54,8 +54,6 @@ commands:
|
||||||
|
|
||||||
depend::
|
depend::
|
||||||
mkdep kernel
|
mkdep kernel
|
||||||
mkdep servers
|
|
||||||
mkdep drivers
|
|
||||||
cd kernel && $(MAKE) $@
|
cd kernel && $(MAKE) $@
|
||||||
cd servers && $(MAKE) $@
|
cd servers && $(MAKE) $@
|
||||||
cd drivers && $(MAKE) $@
|
cd drivers && $(MAKE) $@
|
||||||
|
@ -68,6 +66,7 @@ all::
|
||||||
cd commands && $(MAKE) all
|
cd commands && $(MAKE) all
|
||||||
cd tools && $(MAKE) all
|
cd tools && $(MAKE) all
|
||||||
cd servers && $(MAKE) all
|
cd servers && $(MAKE) all
|
||||||
|
cd drivers && $(MAKE) all
|
||||||
|
|
||||||
install::
|
install::
|
||||||
cd boot && $(MAKE) all install
|
cd boot && $(MAKE) all install
|
||||||
|
@ -75,6 +74,7 @@ install::
|
||||||
cd commands && $(MAKE) all install
|
cd commands && $(MAKE) all install
|
||||||
cd tools && $(MAKE) all install
|
cd tools && $(MAKE) all install
|
||||||
cd servers && $(MAKE) all install
|
cd servers && $(MAKE) all install
|
||||||
|
cd drivers && $(MAKE) all install
|
||||||
|
|
||||||
clean::
|
clean::
|
||||||
cd boot && $(MAKE) clean
|
cd boot && $(MAKE) clean
|
||||||
|
|
|
@ -37,6 +37,5 @@ LINKS+= ${BINDIR}/pax ${BINDIR}/tar
|
||||||
LINKS+= ${BINDIR}/pax ${BINDIR}/cpio
|
LINKS+= ${BINDIR}/pax ${BINDIR}/cpio
|
||||||
|
|
||||||
CFLAGS+= -O -D_POSIX_SOURCE -DNET2_STAT=1 -D_MINIX=1
|
CFLAGS+= -O -D_POSIX_SOURCE -DNET2_STAT=1 -D_MINIX=1
|
||||||
LDFLAGS+= -i
|
|
||||||
|
|
||||||
.include <minix.prog.mk>
|
.include <minix.prog.mk>
|
||||||
|
|
|
@ -1,54 +1,15 @@
|
||||||
# Makefile for all device drivers.
|
# Makefile for all device drivers.
|
||||||
#
|
#
|
||||||
MAKE = exec make -$(MAKEFLAGS)
|
|
||||||
|
|
||||||
usage:
|
.include <minix.own.mk>
|
||||||
@echo "" >&2
|
|
||||||
@echo "Makefile for all device drivers." >&2
|
|
||||||
@echo "Usage:" >&2
|
|
||||||
@echo " make build # Compile all device drivers locally" >&2
|
|
||||||
@echo " make image # Compile drivers in boot image" >&2
|
|
||||||
@echo " make clean # Remove local compiler results" >&2
|
|
||||||
@echo " make install # Install drivers to /etc/drivers/" >&2
|
|
||||||
@echo " (requires root privileges)" >&2
|
|
||||||
@echo "" >&2
|
|
||||||
|
|
||||||
build: all
|
# memory driver must be last for ramdisk image
|
||||||
all install depend clean:
|
SUBDIR= amddev atl2 at_wini audio bios_wini dec21140A dp8390 dpeth \
|
||||||
cd ./libdriver && $(MAKE) $@
|
e1000 filter floppy fxp hello lance log orinoco pci printer \
|
||||||
cd ./tty && $(MAKE) $@
|
random readclock rtl8139 rtl8169 sb16 ti1225 tty \
|
||||||
cd ./amddev && $(MAKE) $@
|
.WAIT memory
|
||||||
cd ./at_wini && $(MAKE) $@
|
|
||||||
cd ./audio && $(MAKE) $@
|
|
||||||
cd ./floppy && $(MAKE) $@
|
|
||||||
cd ./printer && $(MAKE) $@
|
|
||||||
cd ./rtl8139 && $(MAKE) $@
|
|
||||||
cd ./rtl8169 && $(MAKE) $@
|
|
||||||
cd ./orinoco && $(MAKE) $@
|
|
||||||
cd ./fxp && $(MAKE) $@
|
|
||||||
cd ./e1000 && $(MAKE) $@
|
|
||||||
cd ./dpeth && $(MAKE) $@
|
|
||||||
cd ./atl2 && $(MAKE) $@
|
|
||||||
cd ./log && $(MAKE) $@
|
|
||||||
cd ./bios_wini && $(MAKE) $@
|
|
||||||
cd ./filter && $(MAKE) $@
|
|
||||||
cd ./hello && $(MAKE) $@
|
|
||||||
cd ./random && $(MAKE) $@
|
|
||||||
cd ./readclock && $(MAKE) $@
|
|
||||||
cd ./dp8390 && $(MAKE) $@
|
|
||||||
cd ./sb16 && $(MAKE) $@
|
|
||||||
cd ./lance && $(MAKE) $@
|
|
||||||
cd ./dec21140A && $(MAKE) $@
|
|
||||||
cd ./pci && $(MAKE) $@
|
|
||||||
cd ./ti1225 && $(MAKE) $@
|
|
||||||
cd ./memory && $(MAKE) $@ # Must be last for ramdisk image
|
|
||||||
|
|
||||||
image:
|
# memory driver must be last for ramdisk image
|
||||||
cd ./libdriver && $(MAKE) build
|
IMAGE_SUBDIR= at_wini bios_wini floppy log tty pci .WAIT memory
|
||||||
cd ./tty && $(MAKE) build
|
|
||||||
cd ./at_wini && $(MAKE) build
|
.include <minix.subdir.mk>
|
||||||
cd ./floppy && $(MAKE) build
|
|
||||||
cd ./bios_wini && $(MAKE) build
|
|
||||||
cd ./log && $(MAKE) build
|
|
||||||
cd ./pci && $(MAKE) build
|
|
||||||
cd ./memory && $(MAKE) build # Must be last for ramdisk image
|
|
||||||
|
|
|
@ -1,30 +1,12 @@
|
||||||
# Makefile for AMD's DEV
|
# Makefile for AMD's DEV
|
||||||
DRIVER = amddev
|
PROG= amddev
|
||||||
|
SRCS= amddev.c
|
||||||
|
|
||||||
# programs, flags, etc.
|
DPADD+= ${LIBSYS}
|
||||||
CC = exec cc
|
LDADD+= -lsys
|
||||||
CFLAGS = $(CPROFILE)
|
|
||||||
LDFLAGS = -i
|
|
||||||
LIBS = -lsys
|
|
||||||
|
|
||||||
OBJ = amddev.o
|
MAN=
|
||||||
|
|
||||||
# build local binary
|
|
||||||
all build: $(DRIVER)
|
|
||||||
$(DRIVER): $(OBJ)
|
|
||||||
$(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
|
|
||||||
install -S 320k $(DRIVER)
|
|
||||||
|
|
||||||
# install with other drivers
|
|
||||||
install: /usr/sbin/$(DRIVER)
|
|
||||||
/usr/sbin/$(DRIVER): $(DRIVER)
|
|
||||||
install -o root -cs $? $@
|
|
||||||
|
|
||||||
# clean up local files
|
|
||||||
clean:
|
|
||||||
rm -f *.o *.bak $(DRIVER)
|
|
||||||
|
|
||||||
depend:
|
|
||||||
mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
|
|
||||||
|
|
||||||
|
BINDIR?= /usr/sbin
|
||||||
|
|
||||||
|
.include <minix.prog.mk>
|
||||||
|
|
|
@ -1,41 +1,12 @@
|
||||||
# Makefile for the AT disk driver (AT_WINI)
|
# Makefile for the AT disk driver (AT_WINI)
|
||||||
DRIVER = at_wini
|
PROG= at_wini
|
||||||
|
SRCS= at_wini.c liveupdate.c
|
||||||
|
|
||||||
# directories
|
DPADD+= ${LIBDRIVER} ${LIBSYS} ${LIBTIMERS}
|
||||||
u = /usr
|
LDADD+= -ldriver -lsys -ltimers
|
||||||
i = $u/include
|
|
||||||
s = $i/sys
|
|
||||||
m = $i/minix
|
|
||||||
b = $i/ibm
|
|
||||||
d = ..
|
|
||||||
p = ../libpci
|
|
||||||
|
|
||||||
# programs, flags, etc.
|
MAN=
|
||||||
MAKE = exec make
|
|
||||||
CC = exec cc
|
|
||||||
CFLAGS = -I$i $(CPROFILE)
|
|
||||||
LDFLAGS = -i -L../libdriver
|
|
||||||
LIBS = -ldriver -lsys -ltimers
|
|
||||||
|
|
||||||
OBJ = at_wini.o liveupdate.o
|
|
||||||
|
|
||||||
|
|
||||||
# build local binary
|
|
||||||
all build: $(DRIVER)
|
|
||||||
$(DRIVER): $(OBJ)
|
|
||||||
$(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
|
|
||||||
install -S 32k $(DRIVER)
|
|
||||||
|
|
||||||
# install with other drivers
|
|
||||||
install: /sbin/$(DRIVER)
|
|
||||||
/sbin/$(DRIVER): $(DRIVER)
|
|
||||||
install -o root -cs $? $@
|
|
||||||
|
|
||||||
# clean up local files
|
|
||||||
clean:
|
|
||||||
rm -f $(DRIVER) *.o *.bak
|
|
||||||
|
|
||||||
depend:
|
|
||||||
mkdep "$(CC) -E $(CPPFLAGS)" *.c ../libdriver/*.c > .depend
|
|
||||||
|
|
||||||
|
BINDIR?= /sbin
|
||||||
|
|
||||||
|
.include <minix.prog.mk>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#include "../drivers.h"
|
#include <minix/drivers.h>
|
||||||
#include "../libdriver/driver.h"
|
#include <minix/driver.h>
|
||||||
#include "../libdriver/drvlib.h"
|
#include <minix/drvlib.h>
|
||||||
|
|
||||||
#define VERBOSE 0 /* display identify messages during boot */
|
#define VERBOSE 0 /* display identify messages during boot */
|
||||||
#define ENABLE_ATAPI 1 /* add ATAPI cd-rom support to driver */
|
#define ENABLE_ATAPI 1 /* add ATAPI cd-rom support to driver */
|
||||||
|
|
|
@ -1,36 +1,12 @@
|
||||||
# Makefile for the Attansic/Atheros L2 ethernet driver (ATL2)
|
# Makefile for the Attansic/Atheros L2 ethernet driver (ATL2)
|
||||||
DRIVER = atl2
|
PROG= atl2
|
||||||
|
SRCS= atl2.c
|
||||||
|
|
||||||
# directories
|
DPADD+= ${LIBSYS}
|
||||||
u = /usr
|
LDADD+= -lsys
|
||||||
i = $u/include
|
|
||||||
s = $i/sys
|
|
||||||
m = $i/minix
|
|
||||||
b = $i/ibm
|
|
||||||
d = ..
|
|
||||||
|
|
||||||
# programs, flags, etc.
|
MAN=
|
||||||
MAKE = exec make
|
|
||||||
CC = exec cc
|
|
||||||
CFLAGS = -I$i $(CPROFILE)
|
|
||||||
LDFLAGS = -i
|
|
||||||
LIBS = -lsys
|
|
||||||
|
|
||||||
OBJ = atl2.o
|
BINDIR?= /usr/sbin
|
||||||
|
|
||||||
# build local binary
|
.include <minix.prog.mk>
|
||||||
all build: $(DRIVER)
|
|
||||||
$(DRIVER): $(OBJ)
|
|
||||||
$(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
|
|
||||||
|
|
||||||
# install with other drivers
|
|
||||||
install: /usr/sbin/$(DRIVER)
|
|
||||||
/usr/sbin/$(DRIVER): $(DRIVER)
|
|
||||||
install -o root -cs $? $@
|
|
||||||
|
|
||||||
# clean up local files
|
|
||||||
clean:
|
|
||||||
rm -f $(DRIVER) *.o *.bak
|
|
||||||
|
|
||||||
depend:
|
|
||||||
mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* heavily on the official Linux driver; this driver is based heavily on both.
|
* heavily on the official Linux driver; this driver is based heavily on both.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../drivers.h"
|
#include <minix/drivers.h>
|
||||||
|
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
#include <minix/ds.h>
|
#include <minix/ds.h>
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
# Makefile for all audio drivers.
|
# Makefile for all audio drivers.
|
||||||
MAKE = exec make -$(MAKEFLAGS)
|
|
||||||
|
|
||||||
build: all
|
.include <minix.own.mk>
|
||||||
|
|
||||||
all install depend clean:
|
SUBDIR= common .WAIT es1370 es1371 sb16
|
||||||
cd ./es1370 && $(MAKE) $@
|
|
||||||
cd ./es1371 && $(MAKE) $@
|
|
||||||
|
|
||||||
|
.include <minix.subdir.mk>
|
||||||
|
|
13
drivers/audio/Makefile.inc
Normal file
13
drivers/audio/Makefile.inc
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
.include <minix.own.mk>
|
||||||
|
|
||||||
|
LIBCOMMON != cd ${.CURDIR}/../common && ${PRINTOBJDIR}
|
||||||
|
CPPFLAGS+=-I${.CURDIR}/../common
|
||||||
|
DPADD+= ${LIBCOMMON}/libcommon.a
|
||||||
|
LDADD+= -L${LIBCOMMON} -lcommon
|
||||||
|
|
||||||
|
DPADD+= ${LIBSYS}
|
||||||
|
LDADD+= -lsys
|
||||||
|
|
||||||
|
.if exists(${.CURDIR}/../../Makefile.inc)
|
||||||
|
.include "${.CURDIR}/../../Makefile.inc"
|
||||||
|
.endif
|
|
@ -1,7 +1,7 @@
|
||||||
***** Minix 3 Audio drivers *****
|
***** Minix 3 Audio drivers *****
|
||||||
|
|
||||||
Directories:
|
Directories:
|
||||||
framework/ Generic driver framework
|
common/ Generic driver framework
|
||||||
es1370/ ES1370 driver
|
es1370/ ES1370 driver
|
||||||
es1371/ ES1371 driver
|
es1371/ ES1371 driver
|
||||||
|
|
||||||
|
|
8
drivers/audio/common/Makefile
Normal file
8
drivers/audio/common/Makefile
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# Makefile for the common audio framework
|
||||||
|
|
||||||
|
LIBISPRIVATE= yes
|
||||||
|
|
||||||
|
LIB= common
|
||||||
|
SRCS= audio_fw.c liveupdate.c
|
||||||
|
|
||||||
|
.include <minix.lib.mk>
|
|
@ -1,7 +1,7 @@
|
||||||
#ifndef AUDIO_FW_H
|
#ifndef AUDIO_FW_H
|
||||||
#define AUDIO_FW_H
|
#define AUDIO_FW_H
|
||||||
|
|
||||||
#include "../../drivers.h"
|
#include <minix/drivers.h>
|
||||||
#include <sys/ioc_sound.h>
|
#include <sys/ioc_sound.h>
|
||||||
|
|
||||||
|
|
|
@ -1,37 +1,9 @@
|
||||||
# Makefile for the ES1371 sounddriver (SB16)
|
# Makefile for the ES1371 sounddriver (SB16)
|
||||||
|
PROG= es1370
|
||||||
|
SRCS= es1370.c ak4531.c pci_helper.c
|
||||||
|
|
||||||
# directories
|
MAN=
|
||||||
u = /usr
|
|
||||||
i = $u/include
|
|
||||||
s = $i/sys
|
|
||||||
m = $i/minix
|
|
||||||
b = $i/ibm
|
|
||||||
gen_drv_dir = ../../gen_drivers/cyclic_dma
|
|
||||||
|
|
||||||
# programs, flags, etc.
|
|
||||||
CC = exec cc
|
|
||||||
CFLAGS = -I$i
|
|
||||||
LDFLAGS = -i
|
|
||||||
LIBS = -lsys
|
|
||||||
|
|
||||||
# build local binary
|
|
||||||
all: es1370
|
|
||||||
|
|
||||||
es1370: es1370.o ak4531.o audio_fw.o liveupdate.o pci_helper.o
|
|
||||||
$(CC) -o $@ $(LDFLAGS) es1370.o ak4531.o audio_fw.o liveupdate.o pci_helper.o $(LIBS)
|
|
||||||
|
|
||||||
audio_fw.o liveupdate.o: ../framework/audio_fw.c ../framework/liveupdate.c ../framework/audio_fw.h
|
|
||||||
$(CC) -c ../framework/audio_fw.c ../framework/liveupdate.c
|
|
||||||
|
|
||||||
install: /usr/sbin/es1370
|
|
||||||
/usr/sbin/es1370: es1370
|
|
||||||
install -o root -S 1024k -c $? $@
|
|
||||||
|
|
||||||
# clean up local files
|
|
||||||
clean:
|
|
||||||
rm -f *.o *.bak core es1370
|
|
||||||
|
|
||||||
depend:
|
|
||||||
mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
|
|
||||||
|
|
||||||
|
BINDIR?= /usr/sbin
|
||||||
|
|
||||||
|
.include <minix.prog.mk>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
#define AK4531_H
|
#define AK4531_H
|
||||||
/* best viewed with tabsize=4 */
|
/* best viewed with tabsize=4 */
|
||||||
|
|
||||||
#include "../../drivers.h"
|
#include <minix/drivers.h>
|
||||||
#include <minix/sound.h>
|
#include <minix/sound.h>
|
||||||
|
|
||||||
_PROTOTYPE( int ak4531_init, (u16_t base, u16_t status_reg, u16_t bit,
|
_PROTOTYPE( int ak4531_init, (u16_t base, u16_t status_reg, u16_t bit,
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
#include <machine/pci.h>
|
#include <machine/pci.h>
|
||||||
|
|
||||||
#include "../framework/audio_fw.h"
|
#include "audio_fw.h"
|
||||||
#include "es1370.h"
|
#include "es1370.h"
|
||||||
#include "ak4531.h"
|
#include "ak4531.h"
|
||||||
#include "pci_helper.h"
|
#include "pci_helper.h"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
/* best viewed with tabsize=4 */
|
/* best viewed with tabsize=4 */
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include "../../drivers.h"
|
#include <minix/drivers.h>
|
||||||
#include <sys/ioc_sound.h>
|
#include <sys/ioc_sound.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* best viewed with tabsize 4 */
|
/* best viewed with tabsize 4 */
|
||||||
|
|
||||||
#include "../../drivers.h"
|
#include <minix/drivers.h>
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,54 +1,9 @@
|
||||||
# Makefile for the ES1371 sounddriver (SB16)
|
# Makefile for the ES1371 sounddriver (SB16)
|
||||||
|
PROG= es1371
|
||||||
|
SRCS= es1371.c AC97.c pci_helper.c wait.c sample_rate_converter.c
|
||||||
|
|
||||||
# directories
|
MAN=
|
||||||
u = /usr
|
|
||||||
i = $u/include
|
|
||||||
s = $i/sys
|
|
||||||
m = $i/minix
|
|
||||||
b = $i/ibm
|
|
||||||
|
|
||||||
# programs, flags, etc.
|
|
||||||
CC = exec cc
|
|
||||||
CFLAGS = -I$i
|
|
||||||
LDFLAGS = -i
|
|
||||||
LIBS = -lsys
|
|
||||||
|
|
||||||
PROGRAM_NAME = es1371
|
|
||||||
INSTALL_BIN = /usr/sbin/$(PROGRAM_NAME)
|
|
||||||
OBJ = es1371.o AC97.o audio_fw.o liveupdate.o pci_helper.o wait.o sample_rate_converter.o
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# build local binary
|
|
||||||
all: $(PROGRAM_NAME)
|
|
||||||
|
|
||||||
|
|
||||||
$(PROGRAM_NAME): $(OBJ)
|
|
||||||
$(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
|
|
||||||
|
|
||||||
|
|
||||||
audio_fw.o liveupdate.o: ../framework/audio_fw.c ../framework/liveupdate.c ../framework/audio_fw.h
|
|
||||||
$(CC) -c ../framework/audio_fw.c ../framework/liveupdate.c
|
|
||||||
|
|
||||||
|
|
||||||
%.o: %.c
|
|
||||||
$(CC) $(CFLAGS) -c $<
|
|
||||||
|
|
||||||
|
|
||||||
install: $(INSTALL_BIN)
|
|
||||||
|
|
||||||
|
|
||||||
$(INSTALL_BIN): $(PROGRAM_NAME)
|
|
||||||
install -o root -S 1024k -c $? $@
|
|
||||||
|
|
||||||
|
|
||||||
# clean up local files
|
|
||||||
clean:
|
|
||||||
rm -f $(OBJ) $(PROGRAM_NAME) core
|
|
||||||
|
|
||||||
|
|
||||||
depend:
|
|
||||||
mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
|
|
||||||
|
|
||||||
|
|
||||||
|
BINDIR?= /usr/sbin
|
||||||
|
|
||||||
|
.include <minix.prog.mk>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
#include <machine/pci.h>
|
#include <machine/pci.h>
|
||||||
|
|
||||||
#include "../framework/audio_fw.h"
|
#include "audio_fw.h"
|
||||||
#include "es1371.h"
|
#include "es1371.h"
|
||||||
#include "AC97.h"
|
#include "AC97.h"
|
||||||
#include "sample_rate_converter.h"
|
#include "sample_rate_converter.h"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
/* best viewed with tabsize=4 */
|
/* best viewed with tabsize=4 */
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include "../../drivers.h"
|
#include <minix/drivers.h>
|
||||||
#include <sys/ioc_sound.h>
|
#include <sys/ioc_sound.h>
|
||||||
#include <minix/sound.h>
|
#include <minix/sound.h>
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* best viewed with tabsize 4 */
|
/* best viewed with tabsize 4 */
|
||||||
|
|
||||||
#include "../../drivers.h"
|
#include <minix/drivers.h>
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include "../../drivers.h"
|
#include <minix/drivers.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include "pci_helper.h"
|
#include "pci_helper.h"
|
||||||
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
CC = exec cc
|
|
||||||
|
|
||||||
all: audio_fw.o liveupdate.o
|
|
||||||
|
|
||||||
audio_fw.o liveupdate.o:
|
|
||||||
$(CC) -c audio_fw.c liveupdate.c
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f a.out *.bak core errs audio_fw.o liveupdate.o
|
|
|
@ -1,39 +1,9 @@
|
||||||
# Makefile for the Sound Blaster 16 driver (SB16)
|
# Makefile for the Sound Blaster 16 driver (SB16)
|
||||||
|
PROG= sb16
|
||||||
|
SRCS= sb16.c mixer.c
|
||||||
|
|
||||||
# directories
|
MAN=
|
||||||
u = /usr
|
|
||||||
i = $u/include
|
|
||||||
s = $i/sys
|
|
||||||
m = $i/minix
|
|
||||||
b = $i/ibm
|
|
||||||
d = ..
|
|
||||||
|
|
||||||
# programs, flags, etc.
|
|
||||||
CC = exec cc
|
|
||||||
CFLAGS = -I$i
|
|
||||||
LDFLAGS = -i
|
|
||||||
LIBS = -lsys
|
|
||||||
|
|
||||||
|
|
||||||
# build local binary
|
|
||||||
all build: sb16
|
|
||||||
|
|
||||||
sb16: sb16.o mixer.o audio_fw.o liveupdate.o
|
|
||||||
$(CC) -o $@ $(LDFLAGS) sb16.o mixer.o audio_fw.o liveupdate.o $(LIBS)
|
|
||||||
|
|
||||||
audio_fw.o liveupdate.o: ../framework/audio_fw.c ../framework/liveupdate.c ../framework/audio_fw.h
|
|
||||||
$(CC) -c ../framework/audio_fw.c ../framework/liveupdate.c
|
|
||||||
|
|
||||||
# install with other drivers
|
|
||||||
install: /usr/sbin/sb16
|
|
||||||
/usr/sbin/sb16: sb16
|
|
||||||
install -o root -S 512k -c $? $@
|
|
||||||
|
|
||||||
# clean up local files
|
|
||||||
clean:
|
|
||||||
rm -f *.o *.bak sb16
|
|
||||||
|
|
||||||
depend:
|
|
||||||
mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
|
|
||||||
|
|
||||||
|
BINDIR?= /usr/sbin
|
||||||
|
|
||||||
|
.include <minix.prog.mk>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
#define SB16_H
|
#define SB16_H
|
||||||
|
|
||||||
#include <minix/sound.h>
|
#include <minix/sound.h>
|
||||||
#include "../framework/audio_fw.h"
|
#include "audio_fw.h"
|
||||||
|
|
||||||
#define AUDIO 0
|
#define AUDIO 0
|
||||||
#define MIXER 1
|
#define MIXER 1
|
||||||
|
|
|
@ -1,39 +1,12 @@
|
||||||
# Makefile for the BIOS disk driver (BIOS_WINI)
|
# Makefile for the BIOS disk driver (BIOS_WINI)
|
||||||
DRIVER = bios_wini
|
PROG= bios_wini
|
||||||
|
SRCS= bios_wini.c
|
||||||
|
|
||||||
# directories
|
DPADD+= ${LIBDRIVER} ${LIBSYS} ${LIBTIMERS}
|
||||||
u = /usr
|
LDADD+= -ldriver -lsys -ltimers
|
||||||
i = $u/include
|
|
||||||
s = $i/sys
|
|
||||||
m = $i/minix
|
|
||||||
b = $i/ibm
|
|
||||||
d = ..
|
|
||||||
|
|
||||||
# programs, flags, etc.
|
MAN=
|
||||||
MAKE = exec make
|
|
||||||
CC = exec cc
|
|
||||||
CFLAGS = -I$i $(CPROFILE)
|
|
||||||
LDFLAGS = -i -L../libdriver
|
|
||||||
LIBS = -ldriver -lsys -lsys -ltimers
|
|
||||||
|
|
||||||
OBJ = bios_wini.o
|
|
||||||
|
|
||||||
# build local binary
|
|
||||||
all build: $(DRIVER)
|
|
||||||
$(DRIVER): $(OBJ)
|
|
||||||
$(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
|
|
||||||
install $(DRIVER)
|
|
||||||
|
|
||||||
# install with other drivers
|
|
||||||
install: /sbin/$(DRIVER)
|
|
||||||
/sbin/$(DRIVER): $(DRIVER)
|
|
||||||
install -o root -cs $? $@
|
|
||||||
|
|
||||||
# clean up local files
|
|
||||||
clean:
|
|
||||||
rm -f $(DRIVER) *.o *.bak
|
|
||||||
|
|
||||||
depend:
|
|
||||||
mkdep "$(CC) -E $(CPPFLAGS)" *.c ../libdriver/*.c > .depend
|
|
||||||
|
|
||||||
|
BINDIR?= /sbin
|
||||||
|
|
||||||
|
.include <minix.prog.mk>
|
||||||
|
|
|
@ -20,9 +20,9 @@
|
||||||
* 14 May 2000 by Kees J. Bot: d-d/i rewrite.
|
* 14 May 2000 by Kees J. Bot: d-d/i rewrite.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../drivers.h"
|
#include <minix/drivers.h>
|
||||||
#include "../libdriver/driver.h"
|
#include <minix/driver.h>
|
||||||
#include "../libdriver/drvlib.h"
|
#include <minix/drvlib.h>
|
||||||
#include <minix/sysutil.h>
|
#include <minix/sysutil.h>
|
||||||
#include <minix/safecopies.h>
|
#include <minix/safecopies.h>
|
||||||
#include <sys/ioc_disk.h>
|
#include <sys/ioc_disk.h>
|
||||||
|
|
|
@ -1,39 +1,17 @@
|
||||||
##
|
##
|
||||||
## Makefile for Dec21140A ethernet board driver
|
## Makefile for Dec21140A ethernet board driver
|
||||||
##
|
##
|
||||||
|
PROG= dec21140A
|
||||||
|
SRCS= dec21140A.c
|
||||||
|
|
||||||
## Programs, flags, etc.
|
DPADD+= ${LIBSYS}
|
||||||
DRIVER = dec21140A
|
LDADD+= -lsys
|
||||||
|
|
||||||
debug = 0
|
MAN=
|
||||||
|
|
||||||
CC = exec cc
|
BINDIR?= /usr/sbin
|
||||||
LD = $(CC)
|
|
||||||
CPPFLAGS= -I.. -I/usr/include -Ddebug=$(debug) $(CPROFILE)
|
|
||||||
CFLAGS = -ws -w -Wall $(CPPFLAGS)
|
|
||||||
LDFLAGS = -i -o $@
|
|
||||||
|
|
||||||
SRCS = dec21140A.c
|
debug= 0
|
||||||
OBJS = dec21140A.o
|
CPPFLAGS+= -Ddebug=${debug} -ws -w -Wall
|
||||||
LIBS = -lsys # -ltimers
|
|
||||||
|
|
||||||
## Build rules
|
.include <minix.prog.mk>
|
||||||
all build: $(DRIVER)
|
|
||||||
|
|
||||||
$(DRIVER): $(OBJS)
|
|
||||||
$(CC) $(OBJS) $(LIBS) $(LDFLAGS)
|
|
||||||
install -S 16k $(DRIVER)
|
|
||||||
|
|
||||||
## Install with other drivers
|
|
||||||
install: /usr/sbin/$(DRIVER)
|
|
||||||
/usr/sbin/$(DRIVER): $(DRIVER)
|
|
||||||
install -o root -cs $? $@
|
|
||||||
|
|
||||||
## Generate dependencies
|
|
||||||
|
|
||||||
depend:
|
|
||||||
mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
|
|
||||||
|
|
||||||
## Clean directory
|
|
||||||
clean:
|
|
||||||
@rm -f $(DRIVER) *.o *.BAK *~
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
* Created: Mar 2008 by Nicolas Tittley <first.last@ google's mail>
|
* Created: Mar 2008 by Nicolas Tittley <first.last@ google's mail>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../drivers.h"
|
#include <minix/drivers.h>
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <machine/pci.h>
|
#include <machine/pci.h>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
* I/O could be used as well but would result in poor performance.
|
* I/O could be used as well but would result in poor performance.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../drivers.h"
|
#include <minix/drivers.h>
|
||||||
|
|
||||||
#include <net/gen/ether.h>
|
#include <net/gen/ether.h>
|
||||||
#include <net/gen/eth_io.h>
|
#include <net/gen/eth_io.h>
|
||||||
|
|
|
@ -1,38 +1,12 @@
|
||||||
# Makefile for dp8390 driver
|
# Makefile for dp8390 driver
|
||||||
DRIVER = dp8390
|
PROG= dp8390
|
||||||
|
SRCS= 3c503.c dp8390.c ne2000.c rtl8029.c wdeth.c
|
||||||
|
|
||||||
# directories
|
DPADD+= ${LIBSYS} ${LIBTIMERS}
|
||||||
u = /usr
|
LDADD+= -lsys -ltimers
|
||||||
i = $u/include
|
|
||||||
s = $i/sys
|
|
||||||
m = $i/minix
|
|
||||||
b = $i/ibm
|
|
||||||
d = ..
|
|
||||||
|
|
||||||
# programs, flags, etc.
|
MAN=
|
||||||
CC = exec cc
|
|
||||||
CFLAGS = -I$i $(CPROFILE)
|
|
||||||
LDFLAGS = -i
|
|
||||||
LIBS = -lsys -ltimers
|
|
||||||
|
|
||||||
OBJ = 3c503.o dp8390.o ne2000.o rtl8029.o wdeth.o
|
|
||||||
|
|
||||||
# build local binary
|
|
||||||
all build: $(DRIVER)
|
|
||||||
$(DRIVER): $(OBJ)
|
|
||||||
$(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
|
|
||||||
install -S 64k $(DRIVER)
|
|
||||||
|
|
||||||
# install with other drivers
|
|
||||||
install: /usr/sbin/$(DRIVER)
|
|
||||||
/usr/sbin/$(DRIVER): $(DRIVER)
|
|
||||||
install -o root -cs $? $@
|
|
||||||
|
|
||||||
# clean up local files
|
|
||||||
clean:
|
|
||||||
rm -f *.o *.bak $(DRIVER)
|
|
||||||
|
|
||||||
depend:
|
|
||||||
mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
|
|
||||||
|
|
||||||
|
BINDIR?= /usr/sbin
|
||||||
|
|
||||||
|
.include <minix.prog.mk>
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
* Added support for 3c503 boards.
|
* Added support for 3c503 boards.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../drivers.h"
|
#include <minix/drivers.h>
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <minix/com.h>
|
#include <minix/com.h>
|
||||||
|
|
|
@ -7,7 +7,7 @@ specific code, the rest is in dp8390.c
|
||||||
Created: March 15, 1994 by Philip Homburg <philip@f-mnx.phicoh.com>
|
Created: March 15, 1994 by Philip Homburg <philip@f-mnx.phicoh.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../drivers.h"
|
#include <minix/drivers.h>
|
||||||
|
|
||||||
#include <net/gen/ether.h>
|
#include <net/gen/ether.h>
|
||||||
#include <net/gen/eth_io.h>
|
#include <net/gen/eth_io.h>
|
||||||
|
|
|
@ -6,7 +6,7 @@ Initialization of PCI DP8390-based ethernet cards
|
||||||
Created: April 2000 by Philip Homburg <philip@f-mnx.phicoh.com>
|
Created: April 2000 by Philip Homburg <philip@f-mnx.phicoh.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../drivers.h"
|
#include <minix/drivers.h>
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
|
@ -4,7 +4,7 @@ wdeth.c
|
||||||
Created: March 14, 1994 by Philip Homburg
|
Created: March 14, 1994 by Philip Homburg
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../drivers.h"
|
#include <minix/drivers.h>
|
||||||
|
|
||||||
#include <net/gen/ether.h>
|
#include <net/gen/ether.h>
|
||||||
#include <net/gen/eth_io.h>
|
#include <net/gen/eth_io.h>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
** $Id$
|
** $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "drivers.h"
|
#include <minix/drivers.h>
|
||||||
#include <minix/com.h>
|
#include <minix/com.h>
|
||||||
#include <net/gen/ether.h>
|
#include <net/gen/ether.h>
|
||||||
#include <net/gen/eth_io.h>
|
#include <net/gen/eth_io.h>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
** $Id$
|
** $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "drivers.h"
|
#include <minix/drivers.h>
|
||||||
#include <net/gen/ether.h>
|
#include <net/gen/ether.h>
|
||||||
#include <net/gen/eth_io.h>
|
#include <net/gen/eth_io.h>
|
||||||
#include "dp.h"
|
#include "dp.h"
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
** $Id$
|
** $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "drivers.h"
|
#include <minix/drivers.h>
|
||||||
#include <minix/com.h>
|
#include <minix/com.h>
|
||||||
#include <net/gen/ether.h>
|
#include <net/gen/ether.h>
|
||||||
#include <net/gen/eth_io.h>
|
#include <net/gen/eth_io.h>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
** $Id$
|
** $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "drivers.h"
|
#include <minix/drivers.h>
|
||||||
#include <minix/com.h>
|
#include <minix/com.h>
|
||||||
#include <net/gen/ether.h>
|
#include <net/gen/ether.h>
|
||||||
#include <net/gen/eth_io.h>
|
#include <net/gen/eth_io.h>
|
||||||
|
|
|
@ -1,42 +1,17 @@
|
||||||
##
|
##
|
||||||
## Makefile for ISA ethernet drivers May 02, 2000
|
## Makefile for ISA ethernet drivers May 02, 2000
|
||||||
##
|
##
|
||||||
|
PROG= dpeth
|
||||||
|
SRCS= 3c501.c 3c509.c 3c503.c ne.c wd.c 8390.c devio.c netbuff.c dp.c
|
||||||
|
|
||||||
## Programs, flags, etc.
|
DPADD+= ${LIBSYS}
|
||||||
DRIVER = dpeth
|
LDADD+= -lsys
|
||||||
|
|
||||||
debug = 0
|
MAN=
|
||||||
|
|
||||||
CC = exec cc
|
BINDIR?= /usr/sbin
|
||||||
LD = $(CC)
|
|
||||||
CPPFLAGS= -I.. -I/usr/include -Ddebug=$(debug) $(CPROFILE)
|
|
||||||
CFLAGS = -ws $(CPPFLAGS)
|
|
||||||
LDFLAGS = -i -o $@
|
|
||||||
|
|
||||||
SRCS = 3c501.c 3c509.c 3c503.c ne.c wd.c 8390.c devio.c netbuff.c dp.c
|
debug= 0
|
||||||
OBJS = 3c501.o 3c509.o 3c503.o ne.o wd.o 8390.o devio.o netbuff.o dp.o
|
CPPFLAGS+= -Ddebug=$(debug)
|
||||||
LIBS = -lsys
|
|
||||||
|
|
||||||
## Build rules
|
.include <minix.prog.mk>
|
||||||
all build: $(DRIVER)
|
|
||||||
|
|
||||||
$(DRIVER): $(OBJS)
|
|
||||||
$(CC) $(OBJS) $(LIBS) $(LDFLAGS)
|
|
||||||
install -S 16k $(DRIVER)
|
|
||||||
|
|
||||||
## Install with other drivers
|
|
||||||
install: /usr/sbin/$(DRIVER)
|
|
||||||
/usr/sbin/$(DRIVER): $(DRIVER)
|
|
||||||
install -o root -cs $? $@
|
|
||||||
|
|
||||||
## Generate dependencies
|
|
||||||
|
|
||||||
depend:
|
|
||||||
mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
|
|
||||||
|
|
||||||
## Clean directory
|
|
||||||
clean:
|
|
||||||
@rm -f $(DRIVER) *.o *.BAK
|
|
||||||
|
|
||||||
|
|
||||||
## end
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
** $Id$
|
** $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "drivers.h"
|
#include <minix/drivers.h>
|
||||||
#include <net/gen/ether.h>
|
#include <net/gen/ether.h>
|
||||||
#include <net/gen/eth_io.h>
|
#include <net/gen/eth_io.h>
|
||||||
#include "dp.h"
|
#include "dp.h"
|
||||||
|
|
|
@ -54,7 +54,7 @@
|
||||||
** DL_STAT_REPLY)
|
** DL_STAT_REPLY)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "drivers.h"
|
#include <minix/drivers.h>
|
||||||
#include <minix/endpoint.h>
|
#include <minix/endpoint.h>
|
||||||
#include <net/gen/ether.h>
|
#include <net/gen/ether.h>
|
||||||
#include <net/gen/eth_io.h>
|
#include <net/gen/eth_io.h>
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
** $Id$
|
** $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "drivers.h"
|
#include <minix/drivers.h>
|
||||||
#include <net/gen/ether.h>
|
#include <net/gen/ether.h>
|
||||||
#include <net/gen/eth_io.h>
|
#include <net/gen/eth_io.h>
|
||||||
#include "dp.h"
|
#include "dp.h"
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
** $Id$
|
** $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "drivers.h"
|
#include <minix/drivers.h>
|
||||||
#include <net/gen/ether.h>
|
#include <net/gen/ether.h>
|
||||||
#include <net/gen/eth_io.h>
|
#include <net/gen/eth_io.h>
|
||||||
#include "dp.h"
|
#include "dp.h"
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
** $Id$
|
** $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "drivers.h"
|
#include <minix/drivers.h>
|
||||||
#include <net/gen/ether.h>
|
#include <net/gen/ether.h>
|
||||||
#include <net/gen/eth_io.h>
|
#include <net/gen/eth_io.h>
|
||||||
#include "dp.h"
|
#include "dp.h"
|
||||||
|
|
|
@ -1,42 +1,14 @@
|
||||||
#
|
#
|
||||||
# Makefile for the Intel Pro/1000 driver.
|
# Makefile for the Intel Pro/1000 driver.
|
||||||
#
|
#
|
||||||
DRIVER = e1000
|
PROG= e1000
|
||||||
|
SRCS= e1000.c
|
||||||
|
|
||||||
#
|
DPADD+= ${LIBSYS} ${LIBTIMERS}
|
||||||
# Directories.
|
LDADD+= -lsys -ltimers
|
||||||
#
|
|
||||||
u = /usr
|
|
||||||
i = $u/include
|
|
||||||
s = $i/sys
|
|
||||||
m = $i/minix
|
|
||||||
b = $i/ibm
|
|
||||||
d = ..
|
|
||||||
|
|
||||||
#
|
MAN=
|
||||||
# Build Programs, Flags and Variables.
|
|
||||||
#
|
|
||||||
CC = exec cc
|
|
||||||
CFLAGS = -I$i $(CPROFILE)
|
|
||||||
LDFLAGS = -i
|
|
||||||
LIBS = -lsys -ltimers
|
|
||||||
OBJ = e1000.o
|
|
||||||
|
|
||||||
# build local binary
|
BINDIR?= /usr/sbin
|
||||||
all build: $(DRIVER)
|
|
||||||
$(DRIVER): $(OBJ)
|
|
||||||
$(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
|
|
||||||
install -S 128k $(DRIVER)
|
|
||||||
|
|
||||||
# install with other drivers
|
|
||||||
install: /usr/sbin/$(DRIVER)
|
|
||||||
/usr/sbin/$(DRIVER): $(DRIVER)
|
|
||||||
install -o root -cs $? $@
|
|
||||||
|
|
||||||
# clean up local files
|
|
||||||
clean:
|
|
||||||
rm -f *.o $(DRIVER)
|
|
||||||
|
|
||||||
depend:
|
|
||||||
mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
|
|
||||||
|
|
||||||
|
.include <minix.prog.mk>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* Gigabit Ethernet Controllers.
|
* Gigabit Ethernet Controllers.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../drivers.h"
|
#include <minix/drivers.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <net/gen/ether.h>
|
#include <net/gen/ether.h>
|
||||||
#include <net/gen/eth_io.h>
|
#include <net/gen/eth_io.h>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
#ifndef __E1000_H
|
#ifndef __E1000_H
|
||||||
#define __E1000_H
|
#define __E1000_H
|
||||||
|
|
||||||
#include "../drivers.h"
|
#include <minix/drivers.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <net/hton.h>
|
#include <net/hton.h>
|
||||||
#include <net/gen/ether.h>
|
#include <net/gen/ether.h>
|
||||||
|
|
|
@ -1,29 +1,14 @@
|
||||||
# Makefile for filter driver
|
# Makefile for filter driver
|
||||||
DRIVER = filter
|
PROG= filter
|
||||||
|
SRCS= main.c sum.c driver.c util.c optset.c crc.c md5.c
|
||||||
|
|
||||||
# programs, flags, etc.
|
DPADD+= ${LIBSYS}
|
||||||
CC = cc
|
LDADD+= -lsys
|
||||||
CFLAGS = -I.. -DDEBUG=1 -DDEBUG2=0
|
|
||||||
LDFLAGS =
|
|
||||||
LIBS = -lsys
|
|
||||||
|
|
||||||
OBJ = main.o sum.o driver.o util.o optset.o crc.o md5.o
|
MAN=
|
||||||
|
|
||||||
# build local binary
|
BINDIR?= /usr/sbin
|
||||||
all build: $(DRIVER)
|
|
||||||
$(DRIVER): $(OBJ)
|
|
||||||
$(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
|
|
||||||
|
|
||||||
# install with other drivers
|
|
||||||
install: /usr/sbin/$(DRIVER)
|
|
||||||
/usr/sbin/$(DRIVER): $(DRIVER)
|
|
||||||
install -o root -c $? $@
|
|
||||||
|
|
||||||
# clean up local files
|
|
||||||
clean:
|
|
||||||
rm -f *.o *.bak $(DRIVER)
|
|
||||||
|
|
||||||
depend:
|
|
||||||
mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
|
|
||||||
|
|
||||||
|
CPPFLAGS+= -DDEBUG=1 -DDEBUG2=0
|
||||||
|
|
||||||
|
.include <minix.prog.mk>
|
||||||
|
|
|
@ -1,39 +1,12 @@
|
||||||
# Makefile for the floppy disk driver (FLOPPY)
|
# Makefile for the floppy disk driver (FLOPPY)
|
||||||
DRIVER = floppy
|
PROG= floppy
|
||||||
|
SRCS= floppy.c liveupdate.c
|
||||||
|
|
||||||
# directories
|
DPADD+= ${LIBDRIVER} ${LIBSYS} ${LIBTIMERS}
|
||||||
u = /usr
|
LDADD+= -ldriver -lsys -ltimers
|
||||||
i = $u/include
|
|
||||||
s = $i/sys
|
|
||||||
m = $i/minix
|
|
||||||
b = $i/ibm
|
|
||||||
d = ..
|
|
||||||
|
|
||||||
# programs, flags, etc.
|
MAN=
|
||||||
MAKE = exec make
|
|
||||||
CC = exec cc
|
|
||||||
CFLAGS = -I$i $(CPROFILE)
|
|
||||||
LDFLAGS = -i -L../libdriver
|
|
||||||
LIBS = -ldriver -lsys -ltimers
|
|
||||||
|
|
||||||
OBJ = floppy.o liveupdate.o
|
|
||||||
|
|
||||||
# build local binary
|
|
||||||
all build: $(DRIVER)
|
|
||||||
$(DRIVER): $(OBJ)
|
|
||||||
$(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
|
|
||||||
install -S 16k $(DRIVER)
|
|
||||||
|
|
||||||
# install with other drivers
|
|
||||||
install: /sbin/$(DRIVER)
|
|
||||||
/sbin/$(DRIVER): $(DRIVER)
|
|
||||||
install -o root -cs $? $@
|
|
||||||
|
|
||||||
# clean up local files
|
|
||||||
clean:
|
|
||||||
rm -f $(DRIVER) *.o *.bak
|
|
||||||
|
|
||||||
depend:
|
|
||||||
mkdep "$(CC) -E $(CPPFLAGS)" *.c ../libdriver/*.c > .depend
|
|
||||||
|
|
||||||
|
BINDIR?= /sbin
|
||||||
|
|
||||||
|
.include <minix.prog.mk>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include "../drivers.h"
|
#include <minix/drivers.h>
|
||||||
#include "../libdriver/driver.h"
|
#include <minix/driver.h>
|
||||||
#include "../libdriver/drvlib.h"
|
#include <minix/drvlib.h>
|
||||||
|
|
||||||
|
|
|
@ -1,38 +1,12 @@
|
||||||
# Makefile for Intel Pro/100 driver (FXP)
|
# Makefile for Intel Pro/100 driver (FXP)
|
||||||
DRIVER = fxp
|
PROG= fxp
|
||||||
|
SRCS= fxp.c mii.c
|
||||||
|
|
||||||
# directories
|
DPADD+= ${LIBSYS} ${LIBTIMERS}
|
||||||
u = /usr
|
LDADD+= -lsys -ltimers
|
||||||
i = $u/include
|
|
||||||
s = $i/sys
|
|
||||||
m = $i/minix
|
|
||||||
b = $i/ibm
|
|
||||||
d = ..
|
|
||||||
|
|
||||||
# programs, flags, etc.
|
MAN=
|
||||||
CC = exec cc
|
|
||||||
CFLAGS = -I$i $(CPROFILE)
|
|
||||||
LDFLAGS = -i
|
|
||||||
LIBS = -lsys -ltimers
|
|
||||||
|
|
||||||
OBJ = fxp.o mii.o
|
|
||||||
|
|
||||||
# build local binary
|
|
||||||
all build: $(DRIVER)
|
|
||||||
$(DRIVER): $(OBJ)
|
|
||||||
$(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
|
|
||||||
install -S 128k $(DRIVER)
|
|
||||||
|
|
||||||
# install with other drivers
|
|
||||||
install: /usr/sbin/$(DRIVER)
|
|
||||||
/usr/sbin/$(DRIVER): $(DRIVER)
|
|
||||||
install -o root -cs $? $@
|
|
||||||
|
|
||||||
# clean up local files
|
|
||||||
clean:
|
|
||||||
rm -f *.o *.bak $(DRIVER)
|
|
||||||
|
|
||||||
depend:
|
|
||||||
mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
|
|
||||||
|
|
||||||
|
BINDIR?= /usr/sbin
|
||||||
|
|
||||||
|
.include <minix.prog.mk>
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
* Created: Nov 2004 by Philip Homburg <philip@f-mnx.phicoh.com>
|
* Created: Nov 2004 by Philip Homburg <philip@f-mnx.phicoh.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../drivers.h"
|
#include <minix/drivers.h>
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <net/hton.h>
|
#include <net/hton.h>
|
||||||
|
|
|
@ -6,7 +6,7 @@ Created: Nov 2004 by Philip Homburg <philip@f-mnx.phicoh.com>
|
||||||
Media Independent (Ethernet) Interface functions
|
Media Independent (Ethernet) Interface functions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../drivers.h"
|
#include <minix/drivers.h>
|
||||||
#if __minix_vmd
|
#if __minix_vmd
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,44 +1,12 @@
|
||||||
#
|
|
||||||
# Makefile for the hello driver.
|
# Makefile for the hello driver.
|
||||||
#
|
PROG= hello
|
||||||
DRIVER = hello
|
SRCS= hello.c
|
||||||
|
|
||||||
#
|
DPADD+= ${LIBDRIVER} ${LIBSYS}
|
||||||
# Directories.
|
LDADD+= -ldriver -lsys
|
||||||
#
|
|
||||||
u = /usr
|
|
||||||
i = $u/include
|
|
||||||
s = $i/sys
|
|
||||||
m = $i/minix
|
|
||||||
b = $i/ibm
|
|
||||||
d = ..
|
|
||||||
|
|
||||||
#
|
MAN=
|
||||||
# Build Programs, Flags and Variables.
|
|
||||||
#
|
|
||||||
CC = exec cc
|
|
||||||
CFLAGS = -I$i $(CPROFILE)
|
|
||||||
LDFLAGS = -i -L../libdriver
|
|
||||||
LIBS = -ldriver -lsys
|
|
||||||
OBJ = hello.o
|
|
||||||
|
|
||||||
# build local binary
|
BINDIR?= /usr/sbin
|
||||||
all build: $(DRIVER)
|
|
||||||
$(DRIVER): $(OBJ)
|
|
||||||
$(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
|
|
||||||
install -S 128k $(DRIVER)
|
|
||||||
|
|
||||||
# install with other drivers
|
.include <minix.prog.mk>
|
||||||
install: /usr/sbin/$(DRIVER)
|
|
||||||
/usr/sbin/$(DRIVER): $(DRIVER)
|
|
||||||
install -o root -cs $? $@
|
|
||||||
|
|
||||||
# clean up local files
|
|
||||||
clean:
|
|
||||||
rm -f *.o $(DRIVER)
|
|
||||||
|
|
||||||
depend:
|
|
||||||
mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
|
|
||||||
|
|
||||||
# Include generated dependencies.
|
|
||||||
include .depend
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include "../drivers.h"
|
#include <minix/drivers.h>
|
||||||
#include "../libdriver/driver.h"
|
#include <minix/driver.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <minix/ds.h>
|
#include <minix/ds.h>
|
||||||
|
|
|
@ -1,38 +1,12 @@
|
||||||
# Makefile for Intel Pro/100 driver (FXP)
|
# Makefile for Lance driver
|
||||||
DRIVER = lance
|
PROG= lance
|
||||||
|
SRCS= lance.c
|
||||||
|
|
||||||
# directories
|
DPADD+= ${LIBSYS}
|
||||||
u = /usr
|
LDADD+= -lsys
|
||||||
i = $u/include
|
|
||||||
s = $i/sys
|
|
||||||
m = $i/minix
|
|
||||||
b = $i/ibm
|
|
||||||
d = ..
|
|
||||||
|
|
||||||
# programs, flags, etc.
|
MAN=
|
||||||
CC = exec cc
|
|
||||||
CFLAGS = -I$i $(CPROFILE)
|
|
||||||
LDFLAGS = -i
|
|
||||||
LIBS = -lsys
|
|
||||||
#-lutils -ltimers
|
|
||||||
|
|
||||||
OBJ = lance.o
|
BINDIR?= /usr/sbin
|
||||||
|
|
||||||
# build local binary
|
|
||||||
all build: $(DRIVER)
|
|
||||||
$(DRIVER): $(OBJ)
|
|
||||||
$(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
|
|
||||||
install -S 128k $(DRIVER)
|
|
||||||
|
|
||||||
# install with other drivers
|
|
||||||
install: /usr/sbin/$(DRIVER)
|
|
||||||
/usr/sbin/$(DRIVER): $(DRIVER)
|
|
||||||
install -o root -cs $? $@
|
|
||||||
|
|
||||||
# clean up local files
|
|
||||||
clean:
|
|
||||||
rm -f *.o *.bak $(DRIVER)
|
|
||||||
|
|
||||||
depend:
|
|
||||||
mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
|
|
||||||
|
|
||||||
|
.include <minix.prog.mk>
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
#define VERBOSE 0 /* Verbose debugging output */
|
#define VERBOSE 0 /* Verbose debugging output */
|
||||||
#define LANCE_FKEY 0 /* Use function key to dump Lance stats */
|
#define LANCE_FKEY 0 /* Use function key to dump Lance stats */
|
||||||
|
|
||||||
#include "../drivers.h"
|
#include <minix/drivers.h>
|
||||||
|
|
||||||
#include <net/hton.h>
|
#include <net/hton.h>
|
||||||
#include <net/gen/ether.h>
|
#include <net/gen/ether.h>
|
||||||
|
|
|
@ -1,32 +0,0 @@
|
||||||
# Makefile for driver library
|
|
||||||
|
|
||||||
# Directories
|
|
||||||
u = /usr
|
|
||||||
i = $u/include
|
|
||||||
s = $i/sys
|
|
||||||
b = $i/ibm
|
|
||||||
m = $i/minix
|
|
||||||
|
|
||||||
# Programs, flags, etc.
|
|
||||||
CC = exec cc
|
|
||||||
CFLAGS = -I$i $(CPROFILE)
|
|
||||||
LDFLAGS = -i
|
|
||||||
LIBS = -lsys
|
|
||||||
LIB = libdriver.a
|
|
||||||
|
|
||||||
OBJECTS = driver.o drvlib.o mq.o
|
|
||||||
|
|
||||||
all build install: $(LIB)
|
|
||||||
|
|
||||||
$(LIB): $(OBJECTS)
|
|
||||||
ar rc $(LIB) $(OBJECTS)
|
|
||||||
|
|
||||||
# $(CC) -c $@ $(LDFLAGS) $(OBJ) $(LIBS)
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f *.o *.bak *.a
|
|
||||||
|
|
||||||
depend:
|
|
||||||
mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
|
|
||||||
|
|
||||||
|
|
|
@ -1,39 +1,12 @@
|
||||||
# Makefile for log driver
|
# Makefile for log driver
|
||||||
DRIVER = log
|
PROG= log
|
||||||
|
SRCS= log.c diag.c liveupdate.c
|
||||||
|
|
||||||
# directories
|
DPADD+= ${LIBDRIVER} ${LIBSYS}
|
||||||
u = /usr
|
LDADD+= -ldriver -lsys
|
||||||
i = $u/include
|
|
||||||
s = $i/sys
|
|
||||||
m = $i/minix
|
|
||||||
d = ..
|
|
||||||
|
|
||||||
# programs, flags, etc.
|
MAN=
|
||||||
MAKE = exec make
|
|
||||||
CC = exec cc
|
|
||||||
CFLAGS = -I$i $(CPROFILE)
|
|
||||||
LDFLAGS = -i -L../libdriver
|
|
||||||
LIBS = -ldriver -lsys
|
|
||||||
LIB_DEP = ../libdriver/libdriver.a
|
|
||||||
|
|
||||||
OBJ = log.o diag.o liveupdate.o
|
|
||||||
|
|
||||||
# build local binary
|
|
||||||
all build: $(DRIVER)
|
|
||||||
$(DRIVER): $(OBJ) $(LIB_DEP)
|
|
||||||
$(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
|
|
||||||
install -S 32kb $(DRIVER)
|
|
||||||
|
|
||||||
# install with other drivers
|
|
||||||
install: $(DRIVER)
|
|
||||||
install -o root -cs $(DRIVER) /sbin/$(DRIVER)
|
|
||||||
|
|
||||||
# clean up local files
|
|
||||||
clean:
|
|
||||||
rm -f $(DRIVER) *.o *.bak
|
|
||||||
|
|
||||||
|
|
||||||
depend:
|
|
||||||
mkdep "$(CC) -E $(CPPFLAGS)" *.c ../libdriver/*.c > .depend
|
|
||||||
|
|
||||||
|
BINDIR?= /sbin
|
||||||
|
|
||||||
|
.include <minix.prog.mk>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* Includes. */
|
/* Includes. */
|
||||||
#include "../drivers.h"
|
#include <minix/drivers.h>
|
||||||
#include "../libdriver/driver.h"
|
#include <minix/driver.h>
|
||||||
#include <minix/type.h>
|
#include <minix/type.h>
|
||||||
#include <minix/const.h>
|
#include <minix/const.h>
|
||||||
#include <minix/com.h>
|
#include <minix/com.h>
|
||||||
|
|
|
@ -1,56 +1,7 @@
|
||||||
# Makefile for memory driver (MEMORY)
|
# Makefile for memory driver and ramdisk
|
||||||
DRIVER = memory
|
|
||||||
|
|
||||||
# directories
|
.include <minix.own.mk>
|
||||||
u = /usr
|
|
||||||
i = $u/include
|
|
||||||
s = $i/sys
|
|
||||||
m = $i/minix
|
|
||||||
b = $i/ibm
|
|
||||||
d = ..
|
|
||||||
|
|
||||||
# programs, flags, etc.
|
|
||||||
MAKE = exec make
|
|
||||||
CC = exec cc
|
|
||||||
CFLAGS = -I$i
|
|
||||||
LDFLAGS = -i -L../libdriver
|
|
||||||
LIBS = -ldriver -lsys
|
|
||||||
|
|
||||||
# imgrd_s.s is the ACK assembler version of the ramdisk. For more portability,
|
|
||||||
# use the C version imgrd.c. However, the C compiler takes too much memory
|
|
||||||
# compiling imgrd.c.
|
|
||||||
IMGRD=imgrd_s.o
|
|
||||||
#IMGRD=imgrd.c
|
|
||||||
|
|
||||||
OBJ = memory.o $(IMGRD)
|
|
||||||
|
|
||||||
# build local binary
|
|
||||||
all build: $(DRIVER)
|
|
||||||
|
|
||||||
$(DRIVER): ramdisk_image $(OBJ)
|
|
||||||
$(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
|
|
||||||
install -S 8k $(DRIVER)
|
|
||||||
|
|
||||||
imgrd.o: ramdisk/image.c
|
|
||||||
|
|
||||||
imgrd_s.o: ramdisk/image.s
|
|
||||||
TMPDIR=/usr/tmp $(CC) -T /usr/tmp -c imgrd_s.s
|
|
||||||
|
|
||||||
ramdisk_image:
|
|
||||||
cd ramdisk && make
|
|
||||||
|
|
||||||
# install with other drivers
|
|
||||||
install: /usr/sbin/$(DRIVER)
|
|
||||||
/usr/sbin/$(DRIVER): $(DRIVER)
|
|
||||||
install -o root -cs $? $@
|
|
||||||
|
|
||||||
# clean up local files
|
|
||||||
clean:
|
|
||||||
rm -f $(DRIVER) *.o *.bak
|
|
||||||
cd ramdisk && make clean
|
|
||||||
|
|
||||||
depend:
|
|
||||||
mkdep "$(CC) -E $(CPPFLAGS)" memory.c ../libdriver/*.c > .depend
|
|
||||||
cd ramdisk && make depend
|
|
||||||
|
|
||||||
|
SUBDIR= ramdisk .WAIT memory_driver
|
||||||
|
|
||||||
|
.include <minix.subdir.mk>
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
#
|
|
||||||
.sect .text; .sect .rom; .sect .data
|
|
||||||
|
|
||||||
! export symbols
|
|
||||||
.define _imgrd, _imgrd_size
|
|
||||||
|
|
||||||
.sect .data
|
|
||||||
_imgrd:
|
|
||||||
0:
|
|
||||||
#include "ramdisk/image.s"
|
|
||||||
1:
|
|
||||||
|
|
||||||
! Use local labels to compute the size of _imgrd.
|
|
||||||
_imgrd_size:
|
|
||||||
.data4 [1b] - [0b]
|
|
17
drivers/memory/memory_driver/Makefile
Normal file
17
drivers/memory/memory_driver/Makefile
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# Makefile for memory driver (MEMORY)
|
||||||
|
.include <minix.own.mk>
|
||||||
|
|
||||||
|
PROG= memory
|
||||||
|
SRCS= memory.c imgrd.c
|
||||||
|
|
||||||
|
DPADD+= ${LIBDRIVER} ${LIBSYS}
|
||||||
|
LDADD+= -ldriver -lsys
|
||||||
|
|
||||||
|
MAN=
|
||||||
|
|
||||||
|
BINDIR?= /usr/sbin
|
||||||
|
|
||||||
|
CPPFLAGS.imgrd.c += -I${.CURDIR}/../ramdisk -T /usr/tmp
|
||||||
|
|
||||||
|
.include <minix.prog.mk>
|
||||||
|
.include <minix.subdir.mk>
|
|
@ -8,7 +8,7 @@ Ramdisk that is part of the image
|
||||||
|
|
||||||
unsigned char imgrd[]=
|
unsigned char imgrd[]=
|
||||||
{
|
{
|
||||||
#include "ramdisk/image.c"
|
#include "image.c"
|
||||||
};
|
};
|
||||||
|
|
||||||
size_t imgrd_size= sizeof(imgrd);
|
size_t imgrd_size= sizeof(imgrd);
|
|
@ -15,15 +15,15 @@
|
||||||
* Apr 20, 1992 device dependent/independent split (Kees J. Bot)
|
* Apr 20, 1992 device dependent/independent split (Kees J. Bot)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../drivers.h"
|
#include <minix/drivers.h>
|
||||||
#include "../libdriver/driver.h"
|
#include <minix/driver.h>
|
||||||
#include <sys/ioc_memory.h>
|
#include <sys/ioc_memory.h>
|
||||||
#include <minix/ds.h>
|
#include <minix/ds.h>
|
||||||
#include <minix/vm.h>
|
#include <minix/vm.h>
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
#include "../../kernel/const.h"
|
#include "../../../kernel/const.h"
|
||||||
#include "../../kernel/config.h"
|
#include "../../../kernel/config.h"
|
||||||
#include "../../kernel/type.h"
|
#include "../../../kernel/type.h"
|
||||||
|
|
||||||
#include <machine/vm.h>
|
#include <machine/vm.h>
|
||||||
|
|
|
@ -6,17 +6,14 @@ EXTRA=system.conf passwd
|
||||||
|
|
||||||
MAKEDEV=/usr/bin/MAKEDEV
|
MAKEDEV=/usr/bin/MAKEDEV
|
||||||
|
|
||||||
all: image.c image.s
|
all: image.c
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(PROGRAMS) $(EXTRA) bintoc image image.c image.s t proto.gen
|
rm -rf $(PROGRAMS) $(EXTRA) bintoc image image.c t proto.gen
|
||||||
|
|
||||||
image.c: bintoc image
|
image.c: bintoc image
|
||||||
./bintoc -o $@ image
|
./bintoc -o $@ image
|
||||||
|
|
||||||
image.s: image.c
|
|
||||||
sed < image.c > $@ 's/^/.data1 /;s/,$$//' || { rm -f $@; false; }
|
|
||||||
|
|
||||||
# Note for cross compilation: this executable has to be compiled for the
|
# Note for cross compilation: this executable has to be compiled for the
|
||||||
# host system
|
# host system
|
||||||
bintoc: bintoc.c
|
bintoc: bintoc.c
|
||||||
|
@ -85,8 +82,8 @@ sh: ../../../commands/ash/sh
|
||||||
../../../commands/ash/sh:
|
../../../commands/ash/sh:
|
||||||
cd ../../../commands/ash && make sh
|
cd ../../../commands/ash && make sh
|
||||||
|
|
||||||
service: ../../../servers/rs/service
|
service: ../../../servers/rs/service/service
|
||||||
install -s ../../../servers/rs/$@ $@
|
install -s ../../../servers/rs/service/$@ $@
|
||||||
|
|
||||||
../../../servers/rs/service:
|
../../../servers/rs/service:
|
||||||
cd ../../../servers/rs && make service
|
cd ../../../servers/rs && make service
|
||||||
|
@ -103,10 +100,7 @@ system.conf: ../../../etc/system.conf
|
||||||
passwd: ../../../etc/passwd
|
passwd: ../../../etc/passwd
|
||||||
install -s ../../../etc/$@ $@
|
install -s ../../../etc/$@ $@
|
||||||
|
|
||||||
depend:
|
|
||||||
mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
|
|
||||||
|
|
||||||
proto.gen: $(MAKEDEV) proto.sh proto
|
proto.gen: $(MAKEDEV) proto.sh proto
|
||||||
sh -e proto.sh >proto.gen
|
sh -e proto.sh >proto.gen
|
||||||
|
|
||||||
|
.include <minix.prog.mk>
|
||||||
|
|
|
@ -1,40 +1,12 @@
|
||||||
# Makefile for the Orinoco wireless card (Prism chipset)
|
# Makefile for the Orinoco wireless card (Prism chipset)
|
||||||
DRIVER = orinoco
|
PROG= orinoco
|
||||||
|
SRCS= orinoco.c hermes.c
|
||||||
# directories
|
|
||||||
u = /usr
|
|
||||||
i = $u/include
|
|
||||||
s = $i/sys
|
|
||||||
m = $i/minix
|
|
||||||
b = $i/ibm
|
|
||||||
d = ..
|
|
||||||
|
|
||||||
# programs, flags, etc.
|
|
||||||
CC = exec cc
|
|
||||||
CFLAGS = -I$i $(CPROFILE)
|
|
||||||
LDFLAGS = -i
|
|
||||||
LIBS = -lsys -ltimers
|
|
||||||
|
|
||||||
OBJ = orinoco.o hermes.o
|
|
||||||
|
|
||||||
# build local binary
|
|
||||||
all build: $(DRIVER)
|
|
||||||
$(DRIVER): $(OBJ)
|
|
||||||
$(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
|
|
||||||
install -S 100kw $(DRIVER)
|
|
||||||
|
|
||||||
# install with other drivers
|
|
||||||
install: /usr/sbin/$(DRIVER)
|
|
||||||
/usr/sbin/$(DRIVER): $(DRIVER)
|
|
||||||
install -o root -cs $? $@
|
|
||||||
|
|
||||||
# clean up local files
|
|
||||||
clean:
|
|
||||||
rm -f $(DRIVER) *.o *.bak
|
|
||||||
|
|
||||||
depend:
|
|
||||||
mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
|
|
||||||
|
|
||||||
|
DPADD+= ${LIBSYS} ${LIBTIMERS}
|
||||||
|
LDADD+= -lsys -ltimers
|
||||||
|
|
||||||
|
MAN=
|
||||||
|
|
||||||
|
BINDIR?= /usr/sbin
|
||||||
|
|
||||||
|
.include <minix.prog.mk>
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#ifndef _HERMES_H
|
#ifndef _HERMES_H
|
||||||
#define _HERMES_H
|
#define _HERMES_H
|
||||||
|
|
||||||
#include "../drivers.h"
|
#include <minix/drivers.h>
|
||||||
#include <net/gen/ether.h>
|
#include <net/gen/ether.h>
|
||||||
#include <net/gen/eth_io.h>
|
#include <net/gen/eth_io.h>
|
||||||
#include <net/hton.h>
|
#include <net/hton.h>
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../drivers.h"
|
#include <minix/drivers.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <minix/syslib.h>
|
#include <minix/syslib.h>
|
||||||
#include <minix/type.h>
|
#include <minix/type.h>
|
||||||
|
|
|
@ -1,38 +1,12 @@
|
||||||
# Makefile for PCI support
|
# Makefile for PCI support
|
||||||
DRIVER = pci
|
PROG= pci
|
||||||
|
SRCS= main.c pci.c pci_table.c
|
||||||
|
|
||||||
# directories
|
DPADD+= ${LIBSYS} ${LIBTIMERS}
|
||||||
u = /usr
|
LDADD+= -lsys -ltimers
|
||||||
i = $u/include
|
|
||||||
s = $i/sys
|
|
||||||
m = $i/minix
|
|
||||||
b = $i/ibm
|
|
||||||
d = ..
|
|
||||||
|
|
||||||
# programs, flags, etc.
|
MAN=
|
||||||
CC = cc
|
|
||||||
CFLAGS = -I$i $(CPROFILE)
|
|
||||||
LDFLAGS = -i
|
|
||||||
LIBS = -lsys -ltimers
|
|
||||||
|
|
||||||
OBJ = main.o pci.o pci_table.o
|
|
||||||
|
|
||||||
# build local binary
|
|
||||||
all build: $(DRIVER)
|
|
||||||
$(DRIVER): $(OBJ)
|
|
||||||
$(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
|
|
||||||
install -S 32k $(DRIVER)
|
|
||||||
|
|
||||||
# install with other drivers
|
|
||||||
install: /usr/sbin/$(DRIVER)
|
|
||||||
/usr/sbin/$(DRIVER): $(DRIVER)
|
|
||||||
install -o root -cs $? $@
|
|
||||||
|
|
||||||
# clean up local files
|
|
||||||
clean:
|
|
||||||
rm -f *.o *.bak $(DRIVER)
|
|
||||||
|
|
||||||
depend:
|
|
||||||
mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
|
|
||||||
|
|
||||||
|
BINDIR?= /usr/sbin
|
||||||
|
|
||||||
|
.include <minix.prog.mk>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
main.c
|
main.c
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../drivers.h"
|
#include <minix/drivers.h>
|
||||||
|
|
||||||
#include <minix/rs.h>
|
#include <minix/rs.h>
|
||||||
#include <minix/endpoint.h>
|
#include <minix/endpoint.h>
|
||||||
|
|
|
@ -8,7 +8,7 @@ Configure devices on the PCI bus
|
||||||
Created: Jan 2000 by Philip Homburg <philip@cs.vu.nl>
|
Created: Jan 2000 by Philip Homburg <philip@cs.vu.nl>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../drivers.h"
|
#include <minix/drivers.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <machine/pci.h>
|
#include <machine/pci.h>
|
||||||
#include <machine/vm.h>
|
#include <machine/vm.h>
|
||||||
|
|
|
@ -13,7 +13,7 @@ See the Linux PCI ID Repository <http://pciids.sourceforge.net/>.
|
||||||
* 2004-08-08 (asw) add Intel 82371AB (0x8086, 0x7100)
|
* 2004-08-08 (asw) add Intel 82371AB (0x8086, 0x7100)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../drivers.h"
|
#include <minix/drivers.h>
|
||||||
#include "pci.h"
|
#include "pci.h"
|
||||||
#if __minix_vmd
|
#if __minix_vmd
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
|
@ -1,39 +1,12 @@
|
||||||
# Makefile for Centronics printer driver (PRINTER)
|
# Makefile for Centronics printer driver (PRINTER)
|
||||||
DRIVER = printer
|
PROG= printer
|
||||||
|
SRCS= printer.c liveupdate.c
|
||||||
|
|
||||||
# directories
|
DPADD+= ${LIBSYS}
|
||||||
u = /usr
|
LDADD+= -lsys
|
||||||
i = $u/include
|
|
||||||
s = $i/sys
|
|
||||||
m = $i/minix
|
|
||||||
b = $i/ibm
|
|
||||||
d = ..
|
|
||||||
|
|
||||||
# programs, flags, etc.
|
MAN=
|
||||||
CC = exec cc
|
|
||||||
CFLAGS = -I$i $(CPROFILE)
|
|
||||||
LDFLAGS = -i
|
|
||||||
LIBS = -lsys
|
|
||||||
|
|
||||||
OBJ = printer.o liveupdate.o
|
|
||||||
|
|
||||||
# build local binary
|
|
||||||
all build: $(DRIVER)
|
|
||||||
$(DRIVER): $(OBJ)
|
|
||||||
$(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
|
|
||||||
install $(DRIVER)
|
|
||||||
|
|
||||||
# install with other drivers
|
|
||||||
install: /usr/sbin/$(DRIVER)
|
|
||||||
/usr/sbin/$(DRIVER): $(DRIVER)
|
|
||||||
install -o root -c $? $@
|
|
||||||
# install -o root -cs $? $@
|
|
||||||
|
|
||||||
# clean up local files
|
|
||||||
clean:
|
|
||||||
rm -f *.o *.bak $(DRIVER)
|
|
||||||
|
|
||||||
depend:
|
|
||||||
mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
|
|
||||||
|
|
||||||
|
BINDIR?= /usr/sbin
|
||||||
|
|
||||||
|
.include <minix.prog.mk>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include "../drivers.h"
|
#include <minix/drivers.h>
|
||||||
|
|
||||||
/* State management variables. */
|
/* State management variables. */
|
||||||
EXTERN int writing;
|
EXTERN int writing;
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <minix/endpoint.h>
|
#include <minix/endpoint.h>
|
||||||
#include "../drivers.h"
|
#include <minix/drivers.h>
|
||||||
|
|
||||||
/* Control bits (in port_base + 2). "+" means positive logic and "-" means
|
/* Control bits (in port_base + 2). "+" means positive logic and "-" means
|
||||||
* negative logic. Most of the signals are negative logic on the pins but
|
* negative logic. Most of the signals are negative logic on the pins but
|
||||||
|
|
|
@ -1,47 +1,15 @@
|
||||||
# Makefile for random driver (RANDOM)
|
# Makefile for random driver (RANDOM)
|
||||||
DRIVER = random
|
PROG= random
|
||||||
|
SRCS= main.c random.c sha2.c rijndael_api.c rijndael_alg.c
|
||||||
|
|
||||||
# directories
|
.PATH: ${.CURDIR}/aes
|
||||||
u = /usr
|
|
||||||
i = $u/include
|
|
||||||
s = $i/sys
|
|
||||||
m = $i/minix
|
|
||||||
b = $i/ibm
|
|
||||||
d = ..
|
|
||||||
|
|
||||||
# programs, flags, etc.
|
DPADD+= ${LIBDRIVER} ${LIBSYS}
|
||||||
MAKE = exec make
|
LDADD+= -ldriver -lsys
|
||||||
CC = exec cc
|
|
||||||
CFLAGS = -I$i $(CPROFILE)
|
|
||||||
LDFLAGS = -i -L../libdriver
|
|
||||||
LIBS = -ldriver -lsys
|
|
||||||
LIB_DEPS=../libdriver/libdriver.a
|
|
||||||
|
|
||||||
OBJ = main.o random.o sha2.o aes/rijndael_api.o aes/rijndael_alg.o
|
MAN=
|
||||||
|
|
||||||
# build local binary
|
BINDIR?= /usr/sbin
|
||||||
all build: $(DRIVER)
|
|
||||||
$(DRIVER): $(OBJ) $(LIB_DEPS)
|
|
||||||
$(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
|
|
||||||
install -S 8k $(DRIVER)
|
|
||||||
|
|
||||||
aes/rijndael_api.o:
|
|
||||||
$(CC) -c -o $@ aes/rijndael_api.c
|
|
||||||
|
|
||||||
aes/rijndael_alg.o:
|
|
||||||
$(CC) -c -o $@ aes/rijndael_alg.c
|
|
||||||
|
|
||||||
# install with other drivers
|
|
||||||
install: /usr/sbin/$(DRIVER)
|
|
||||||
/usr/sbin/$(DRIVER): $(DRIVER)
|
|
||||||
install -o root -cs $? $@
|
|
||||||
|
|
||||||
# clean up local files
|
|
||||||
clean:
|
|
||||||
rm -f $(DRIVER) *.o *.bak aes/*.o
|
|
||||||
|
|
||||||
|
|
||||||
depend:
|
|
||||||
mkdep "$(CC) -E $(CPPFLAGS)" *.c ../libdriver/*.c aes/*.c > .depend
|
|
||||||
|
|
||||||
|
.include <minix.prog.mk>
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
* /dev/random - random number generator
|
* /dev/random - random number generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../drivers.h"
|
#include <minix/drivers.h>
|
||||||
#include "../libdriver/driver.h"
|
#include <minix/driver.h>
|
||||||
#include <minix/type.h>
|
#include <minix/type.h>
|
||||||
|
|
||||||
#include "assert.h"
|
#include "assert.h"
|
||||||
|
|
|
@ -7,7 +7,7 @@ The random number generator collects data from the kernel and compressed
|
||||||
that data into a seed for a psuedo random number generator.
|
that data into a seed for a psuedo random number generator.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../drivers.h"
|
#include <minix/drivers.h>
|
||||||
#include "../../kernel/const.h"
|
#include "../../kernel/const.h"
|
||||||
#include "assert.h"
|
#include "assert.h"
|
||||||
|
|
||||||
|
|
|
@ -1,31 +1,14 @@
|
||||||
# Makefile for readclock 'driver'
|
# Makefile for readclock 'driver'
|
||||||
DRIVER = readclock.drv
|
PROG= readclock.drv
|
||||||
|
SRCS= readclock.c
|
||||||
|
|
||||||
# programs, flags, etc.
|
DPADD+= ${LIBSYS}
|
||||||
MAKE = exec make
|
LDADD+= -lsys
|
||||||
CC = exec cc
|
|
||||||
CFLAGS=-D_MINIX=1 -D_POSIX_SOURCE=1 -D_SYSTEM=1
|
|
||||||
LDFLAGS = -i
|
|
||||||
LIBS = -lsys
|
|
||||||
|
|
||||||
OBJ = readclock.o
|
MAN=
|
||||||
|
|
||||||
# build local binary
|
BINDIR?= /sbin
|
||||||
all build: $(DRIVER)
|
|
||||||
$(DRIVER): $(OBJ)
|
|
||||||
$(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
|
|
||||||
install $(DRIVER)
|
|
||||||
|
|
||||||
# install with other drivers
|
|
||||||
install: /sbin/$(DRIVER)
|
|
||||||
/sbin/$(DRIVER): $(DRIVER)
|
|
||||||
install -o root -cs $? $@
|
|
||||||
|
|
||||||
# clean up local files
|
|
||||||
clean:
|
|
||||||
rm -f $(DRIVER) *.o *.bak
|
|
||||||
|
|
||||||
depend:
|
|
||||||
mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
|
|
||||||
|
|
||||||
|
CPPFLAGS+= -D_MINIX=1 -D_POSIX_SOURCE=1 -D_SYSTEM=1
|
||||||
|
|
||||||
|
.include <minix.prog.mk>
|
||||||
|
|
|
@ -1,39 +1,12 @@
|
||||||
# Makefile for the Realtek RTL8139 ethernet driver (RTL8139)
|
# Makefile for the Realtek RTL8139 ethernet driver (RTL8139)
|
||||||
DRIVER = rtl8139
|
PROG= rtl8139
|
||||||
|
SRCS= rtl8139.c liveupdate.c
|
||||||
|
|
||||||
# directories
|
DPADD+= ${LIBSYS} ${LIBTIMERS}
|
||||||
u = /usr
|
LDADD+= -lsys -ltimers
|
||||||
i = $u/include
|
|
||||||
s = $i/sys
|
|
||||||
m = $i/minix
|
|
||||||
b = $i/ibm
|
|
||||||
d = ..
|
|
||||||
|
|
||||||
# programs, flags, etc.
|
MAN=
|
||||||
MAKE = exec make
|
|
||||||
CC = exec cc
|
|
||||||
CFLAGS = -I$i $(CPROFILE)
|
|
||||||
LDFLAGS = -i
|
|
||||||
LIBS = -lsys -ltimers
|
|
||||||
|
|
||||||
OBJ = rtl8139.o liveupdate.o
|
|
||||||
|
|
||||||
# build local binary
|
|
||||||
all build: $(DRIVER)
|
|
||||||
$(DRIVER): $(OBJ)
|
|
||||||
$(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
|
|
||||||
install -S 64kw $(DRIVER)
|
|
||||||
|
|
||||||
# install with other drivers
|
|
||||||
install: /usr/sbin/$(DRIVER)
|
|
||||||
/usr/sbin/$(DRIVER): $(DRIVER)
|
|
||||||
install -o root -cs $? $@
|
|
||||||
|
|
||||||
# clean up local files
|
|
||||||
clean:
|
|
||||||
rm -f $(DRIVER) *.o *.bak
|
|
||||||
|
|
||||||
depend:
|
|
||||||
mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
|
|
||||||
|
|
||||||
|
BINDIR?= /usr/sbin
|
||||||
|
|
||||||
|
.include <minix.prog.mk>
|
||||||
|
|
|
@ -4,7 +4,7 @@ ibm/rtl8139.h
|
||||||
Created: Aug 2003 by Philip Homburg <philip@cs.vu.nl>
|
Created: Aug 2003 by Philip Homburg <philip@cs.vu.nl>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../drivers.h"
|
#include <minix/drivers.h>
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,39 +1,12 @@
|
||||||
# Makefile for the Realtek RTL8169 ethernet driver (RTL8169)
|
# Makefile for the Realtek RTL8169 ethernet driver (RTL8169)
|
||||||
DRIVER = rtl8169
|
PROG= rtl8169
|
||||||
|
SRCS= rtl8169.c
|
||||||
|
|
||||||
# directories
|
DPADD+= ${LIBSYS} ${LIBTIMERS}
|
||||||
u = /usr
|
LDADD+= -lsys -ltimers
|
||||||
i = $u/include
|
|
||||||
s = $i/sys
|
|
||||||
m = $i/minix
|
|
||||||
b = $i/ibm
|
|
||||||
d = ..
|
|
||||||
|
|
||||||
# programs, flags, etc.
|
MAN=
|
||||||
MAKE = exec make
|
|
||||||
CC = exec cc
|
|
||||||
CFLAGS = -I$i $(CPROFILE)
|
|
||||||
LDFLAGS = -i
|
|
||||||
LIBS = -lsys -ltimers
|
|
||||||
|
|
||||||
OBJ = rtl8169.o
|
|
||||||
|
|
||||||
# build local binary
|
|
||||||
all build: $(DRIVER)
|
|
||||||
$(DRIVER): $(OBJ)
|
|
||||||
$(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
|
|
||||||
install -S 64kw $(DRIVER)
|
|
||||||
|
|
||||||
# install with other drivers
|
|
||||||
install: /usr/sbin/$(DRIVER)
|
|
||||||
/usr/sbin/$(DRIVER): $(DRIVER)
|
|
||||||
install -o root -cs $? $@
|
|
||||||
|
|
||||||
# clean up local files
|
|
||||||
clean:
|
|
||||||
rm -f $(DRIVER) *.o *.bak
|
|
||||||
|
|
||||||
depend:
|
|
||||||
mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
|
|
||||||
|
|
||||||
|
BINDIR?= /usr/sbin
|
||||||
|
|
||||||
|
.include <minix.prog.mk>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../drivers.h"
|
#include <minix/drivers.h>
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,39 +1,7 @@
|
||||||
# Makefile for the Sound Blaster 16 driver (SB16)
|
# Makefile for the Sound Blaster 16 (SB16) driver
|
||||||
|
|
||||||
# directories
|
.include <minix.own.mk>
|
||||||
u = /usr
|
|
||||||
i = $u/include
|
|
||||||
s = $i/sys
|
|
||||||
m = $i/minix
|
|
||||||
b = $i/ibm
|
|
||||||
d = ..
|
|
||||||
|
|
||||||
# programs, flags, etc.
|
|
||||||
CC = exec cc
|
|
||||||
CFLAGS = -I$i $(CPROFILE)
|
|
||||||
LDFLAGS = -i
|
|
||||||
LIBS = -lsys
|
|
||||||
|
|
||||||
|
|
||||||
# build local binary
|
|
||||||
all build: sb16_dsp sb16_mixer
|
|
||||||
sb16_dsp: sb16.o sb16_dsp.o sb16_dsp_liveupdate.o
|
|
||||||
$(CC) -o $@ $(LDFLAGS) sb16.o sb16_dsp.o sb16_dsp_liveupdate.o $(LIBS)
|
|
||||||
sb16_mixer: sb16.o sb16_mixer.o
|
|
||||||
$(CC) -o $@ $(LDFLAGS) sb16.o sb16_mixer.o $(LIBS)
|
|
||||||
|
|
||||||
# install with other drivers
|
|
||||||
install: /usr/sbin/sb16_dsp /usr/sbin/sb16_mixer
|
|
||||||
/usr/sbin/sb16_dsp: sb16_dsp
|
|
||||||
install -o root -c $? $@
|
|
||||||
/usr/sbin/sb16_mixer: sb16_mixer
|
|
||||||
install -o root -c $? $@
|
|
||||||
|
|
||||||
# clean up local files
|
|
||||||
clean:
|
|
||||||
rm -f *.o *.bak sb16 sb16_dsp sb16_mixer
|
|
||||||
|
|
||||||
depend:
|
|
||||||
mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
|
|
||||||
|
|
||||||
|
SUBDIR= common .WAIT dsp mixer
|
||||||
|
|
||||||
|
.include <minix.subdir.mk>
|
||||||
|
|
13
drivers/sb16/Makefile.inc
Normal file
13
drivers/sb16/Makefile.inc
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
.include <minix.own.mk>
|
||||||
|
|
||||||
|
LIBCOMMON != cd ${.CURDIR}/../common && ${PRINTOBJDIR}
|
||||||
|
CPPFLAGS+=-I${.CURDIR}/../common
|
||||||
|
DPADD+= ${LIBCOMMON}/libcommon.a
|
||||||
|
LDADD+= -L${LIBCOMMON} -lcommon
|
||||||
|
|
||||||
|
DPADD+= ${LIBSYS}
|
||||||
|
LDADD+= -lsys
|
||||||
|
|
||||||
|
.if exists(${.CURDIR}/../../Makefile.inc)
|
||||||
|
.include "${.CURDIR}/../../Makefile.inc"
|
||||||
|
.endif
|
8
drivers/sb16/common/Makefile
Normal file
8
drivers/sb16/common/Makefile
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# Makefile for the Sound Blaster 16 (SB16) common
|
||||||
|
|
||||||
|
LIBISPRIVATE= yes
|
||||||
|
|
||||||
|
LIB= common
|
||||||
|
SRCS= sb16.c
|
||||||
|
|
||||||
|
.include <minix.lib.mk>
|
|
@ -1,7 +1,7 @@
|
||||||
#ifndef SB16_H
|
#ifndef SB16_H
|
||||||
#define SB16_H
|
#define SB16_H
|
||||||
|
|
||||||
#include "../drivers.h"
|
#include <minix/drivers.h>
|
||||||
#include <sys/ioc_sound.h>
|
#include <sys/ioc_sound.h>
|
||||||
#include <minix/sound.h>
|
#include <minix/sound.h>
|
||||||
|
|
9
drivers/sb16/dsp/Makefile
Normal file
9
drivers/sb16/dsp/Makefile
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# Makefile for the Sound Blaster 16 (SB16) dsp
|
||||||
|
PROG= sb16_dsp
|
||||||
|
SRCS= sb16_dsp.c sb16_dsp_liveupdate.c
|
||||||
|
|
||||||
|
MAN=
|
||||||
|
|
||||||
|
BINDIR?= /usr/sbin
|
||||||
|
|
||||||
|
.include <minix.prog.mk>
|
9
drivers/sb16/mixer/Makefile
Normal file
9
drivers/sb16/mixer/Makefile
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# Makefile for the Sound Blaster 16 (SB16) mixer
|
||||||
|
PROG= sb16_mixer
|
||||||
|
SRCS= sb16_mixer.c
|
||||||
|
|
||||||
|
MAN=
|
||||||
|
|
||||||
|
BINDIR?= /usr/sbin
|
||||||
|
|
||||||
|
.include <minix.prog.mk>
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue