diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2006-08-20 02:21:27 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2006-08-20 02:21:27 +0000 |
commit | 2878160085960b88ce50f3bf1e3ad0b05bc43789 (patch) | |
tree | 9a6884fd9a35ed26985f2c95c5d8acfb127fd0fd /sys/dev | |
parent | 9f98c891e2dcb6744496680c8de5014666f0f3be (diff) |
get rid of the horror that was the ARC_FW_MSG macro
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/arc.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/dev/pci/arc.c b/sys/dev/pci/arc.c index e9fde707ee7..b41d414e56b 100644 --- a/sys/dev/pci/arc.c +++ b/sys/dev/pci/arc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: arc.c,v 1.31 2006/08/20 02:20:04 dlg Exp $ */ +/* $OpenBSD: arc.c,v 1.32 2006/08/20 02:21:26 dlg Exp $ */ /* * Copyright (c) 2006 David Gwynne <dlg@openbsd.org> @@ -217,16 +217,6 @@ struct arc_fw_bufhdr { #define ARC_FW_CMD_OK 0x41 -/* variable length msg */ -#define ARC_FW_MSG(_len) \ -struct { \ - struct arc_fw_hdr hdr; \ - u_int16_t len; \ - u_int8_t msg[(_len)]; \ - u_int8_t cksum; \ -} __packed -#define ARC_FW_MSGBUF(_msg) ((void *)(_msg)->msg) - struct arc_fw_comminfo { u_int8_t baud_rate; u_int8_t data_bits; |