summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2005-01-21 17:05:33 +0000
committerbms <bms@FreeBSD.org>2005-01-21 17:05:33 +0000
commitb99e3f39fed792a8e2e0c96f25e0927b5dfd2da3 (patch)
tree83a52d1d41f8cd204d340d7fe08436911eefd346 /tools
parent9dbf507683533da781974454fb6a14e52c9ba92e (diff)
downloadFreeBSD-src-b99e3f39fed792a8e2e0c96f25e0927b5dfd2da3.zip
FreeBSD-src-b99e3f39fed792a8e2e0c96f25e0927b5dfd2da3.tar.gz
Fix a masking error. Update copyright.
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/pirtool/pirtable.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/tools/pirtool/pirtable.h b/tools/tools/pirtool/pirtable.h
index d71eeee..cce6902 100644
--- a/tools/tools/pirtool/pirtable.h
+++ b/tools/tools/pirtool/pirtable.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002-2004 Bruce M. Simpson.
+ * Copyright (c) 2002-2005 Bruce M. Simpson.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -44,7 +44,7 @@
#define PIR_SIZE 0x10000
#define PIR_OFFSET 16
-#define PIR_DEV(x) (((x) & 0xF8) >> 5)
+#define PIR_DEV(x) (((x) & 0xF8) >> 3)
#define PIR_FUNC(x) ((x) & 0x7)
typedef struct {
OpenPOWER on IntegriCloud