aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2005-01-21 17:05:33 +0000
committerBruce M Simpson <bms@FreeBSD.org>2005-01-21 17:05:33 +0000
commit92a50b006dbcea915a64e87304c6d0bbc3ee3245 (patch)
tree83a52d1d41f8cd204d340d7fe08436911eefd346 /tools
parent56bcfb6d4e9222d14d3e9808d70e87a2b5161a4f (diff)
downloadsrc-92a50b006dbcea915a64e87304c6d0bbc3ee3245.tar.gz
src-92a50b006dbcea915a64e87304c6d0bbc3ee3245.zip
Fix a masking error. Update copyright.
Notes
Notes: svn path=/head/; revision=140584
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 d71eeeee8051..cce6902c3ceb 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 {