Initial support for APM on hpcarm (just enough to get battery state)
This commit is contained in:
parent
e77de5cb68
commit
a9fed43086
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh -
|
||||
#
|
||||
# $NetBSD: MAKEDEV,v 1.6 2002/08/09 02:39:23 lukem Exp $
|
||||
# $NetBSD: MAKEDEV,v 1.7 2002/09/16 19:58:58 manu Exp $
|
||||
#
|
||||
# Copyright (c) 1990 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
|
@ -115,6 +115,7 @@
|
|||
# cfs* Coda file system device
|
||||
# wsmux* wscons event multiplexor
|
||||
# systrace syscall tracer
|
||||
# apm power management device
|
||||
#
|
||||
|
||||
dialin=0
|
||||
|
@ -156,6 +157,7 @@ all)
|
|||
makedev scsibus0 scsibus1 scsibus2 scsibus3
|
||||
makedev clockctl
|
||||
makedev systrace
|
||||
makedev apm
|
||||
;;
|
||||
|
||||
ramdisk|floppy)
|
||||
|
@ -700,6 +702,12 @@ systrace)
|
|||
chmod 644 systrace
|
||||
;;
|
||||
|
||||
apm)
|
||||
rm -f apm
|
||||
mknod apm c 103 0
|
||||
chmod 644 apm
|
||||
;;
|
||||
|
||||
local)
|
||||
if [ -f "$0.local" ]; then
|
||||
umask 0
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# $NetBSD: Makefile,v 1.9 2002/06/18 05:24:44 itojun Exp $
|
||||
# $NetBSD: Makefile,v 1.10 2002/09/16 19:59:00 manu Exp $
|
||||
|
||||
.if (${MACHINE} == "i386" || ${MACHINE} == "macppc")
|
||||
.if (${MACHINE} == "i386" || ${MACHINE} == "macppc" || ${MACHINE} == "hpcarm")
|
||||
PROG= apm
|
||||
SRCS= apm.c apmsubr.c
|
||||
.PATH: ${.CURDIR}/../apmd
|
||||
|
|
Loading…
Reference in New Issue