summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoryokota <yokota@FreeBSD.org>2001-09-03 03:43:39 +0000
committeryokota <yokota@FreeBSD.org>2001-09-03 03:43:39 +0000
commit684688710c7b69dd9b075a0f539028f0c6b9a792 (patch)
treee31dc523137f6c703c454b7c1bf4ec64d04438bf /sys
parent346b9550385098d8540c81ab9f5bf84c42969b7d (diff)
downloadFreeBSD-src-684688710c7b69dd9b075a0f539028f0c6b9a792.zip
FreeBSD-src-684688710c7b69dd9b075a0f539028f0c6b9a792.tar.gz
Fix the argument specifier for the PnP BIOS function 2
(PNP_SET_DEVNODE). The second argument is not a segment:offset pointer, but a 16 bit short. MFC after: 4 weeks
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/include/pc/bios.h2
-rw-r--r--sys/i386/include/pc/bios.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/include/pc/bios.h b/sys/amd64/include/pc/bios.h
index ae13bd4..cdf7c94 100644
--- a/sys/amd64/include/pc/bios.h
+++ b/sys/amd64/include/pc/bios.h
@@ -171,7 +171,7 @@ struct bios_args {
*/
#define PNP_COUNT_DEVNODES "sppD", 0x00
#define PNP_GET_DEVNODE "sppsD", 0x01
-#define PNP_SET_DEVNODE "sppsD", 0x02
+#define PNP_SET_DEVNODE "sspsD", 0x02
#define PNP_GET_EVENT "spD", 0x03
#define PNP_SEND_MSG "ssD", 0x04
#define PNP_GET_DOCK_INFO "spD", 0x05
diff --git a/sys/i386/include/pc/bios.h b/sys/i386/include/pc/bios.h
index ae13bd4..cdf7c94 100644
--- a/sys/i386/include/pc/bios.h
+++ b/sys/i386/include/pc/bios.h
@@ -171,7 +171,7 @@ struct bios_args {
*/
#define PNP_COUNT_DEVNODES "sppD", 0x00
#define PNP_GET_DEVNODE "sppsD", 0x01
-#define PNP_SET_DEVNODE "sppsD", 0x02
+#define PNP_SET_DEVNODE "sspsD", 0x02
#define PNP_GET_EVENT "spD", 0x03
#define PNP_SEND_MSG "ssD", 0x04
#define PNP_GET_DOCK_INFO "spD", 0x05
OpenPOWER on IntegriCloud