diff options
author | phk <phk@FreeBSD.org> | 1995-12-10 13:40:44 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-12-10 13:40:44 +0000 |
commit | e7008a284eab826ab8cc8f3cdadd22a325c67196 (patch) | |
tree | aaefb89a560ab76e15fa576ab1458dd020b6e04e /sys/i386/isa/psm.c | |
parent | 6a1611e3f8697d6b86f0ce460a09f863f0645323 (diff) | |
download | FreeBSD-src-e7008a284eab826ab8cc8f3cdadd22a325c67196.zip FreeBSD-src-e7008a284eab826ab8cc8f3cdadd22a325c67196.tar.gz |
Staticize and cleanup.
Diffstat (limited to 'sys/i386/isa/psm.c')
-rw-r--r-- | sys/i386/isa/psm.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/sys/i386/isa/psm.c b/sys/i386/isa/psm.c index 010f9db..cdef519 100644 --- a/sys/i386/isa/psm.c +++ b/sys/i386/isa/psm.c @@ -101,9 +101,9 @@ #define min(x,y) (x < y ? x : y) #endif min -int psmprobe (struct isa_device *); -int psmattach (struct isa_device *); -void psm_poll_status(void); +static int psmprobe (struct isa_device *); +static int psmattach (struct isa_device *); +static void psm_poll_status(void); static int psmaddr[NPSM]; /* Base I/O port addresses per unit */ @@ -162,7 +162,8 @@ static inline void psm_command(int ioport, u_char value) outb(ioport+DATA, value); } -int psmprobe(struct isa_device *dvp) +static int +psmprobe(struct isa_device *dvp) { /* XXX: Needs a real probe routine. */ @@ -187,7 +188,8 @@ int psmprobe(struct isa_device *dvp) return (4); } -int psmattach(struct isa_device *dvp) +static int +psmattach(struct isa_device *dvp) { int unit = dvp->id_unit; int ioport = dvp->id_iobase; @@ -290,7 +292,8 @@ psmopen(dev_t dev, int flag, int fmt, struct proc *p) return(0); } -void psm_poll_status(void) +static void +psm_poll_status(void) { while(inb(AUX_PORT+STATUS)&0x03) { |