diff options
author | joerg <joerg@pkgsrc.org> | 2010-10-12 22:28:53 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-10-12 22:28:53 +0000 |
commit | 1226034bac6830f535dc725f4b63d33f47f562f7 (patch) | |
tree | 46157db5da25331da21861d646ccb1ceada44f32 /sysutils | |
parent | 9066020d85c858bcc1dbdf5bfa275d3c714d8928 (diff) | |
download | pkgsrc-1226034bac6830f535dc725f4b63d33f47f562f7.tar.gz |
Don't use intermediate values for ports > 255. Bump revision.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/lambd/Makefile | 4 | ||||
-rw-r--r-- | sysutils/lambd/files/lambio.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/lambd/Makefile b/sysutils/lambd/Makefile index c0d8c5cc8ba..ef751f6e253 100644 --- a/sysutils/lambd/Makefile +++ b/sysutils/lambd/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.14 2009/04/09 00:48:16 joerg Exp $ +# $NetBSD: Makefile,v 1.15 2010/10/12 22:28:53 joerg Exp $ DISTNAME= lambd-20010719 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= sysutils MASTER_SITES= # none DISTFILES= # none diff --git a/sysutils/lambd/files/lambio.c b/sysutils/lambd/files/lambio.c index ca35efb78ba..f7a47bf46fe 100644 --- a/sysutils/lambd/files/lambio.c +++ b/sysutils/lambd/files/lambio.c @@ -1,4 +1,4 @@ -/* $NetBSD: lambio.c,v 1.3 2007/12/23 00:32:49 tnn Exp $ */ +/* $NetBSD: lambio.c,v 1.4 2010/10/12 22:28:54 joerg Exp $ */ /* * Copyright (C) 2001 WIDE Project. All rights reserved. @@ -63,7 +63,7 @@ static u_int8_t lamb_inb(unsigned port) { u_int8_t data; - __asm volatile("inb %w1,%0" : "=a" (data) : "id" (port)); + __asm volatile("inb %w1,%0" : "=a" (data) : "d" (port)); return data; } |