bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Impossible to define _IOT_ for freeipmi?


From: Svante Signell
Subject: Impossible to define _IOT_ for freeipmi?
Date: Thu, 06 Nov 2014 13:09:49 +0100

Hi,

I am looking into the build failures of freeipmi (1.4.5-3) and found
that it seems impossible to define _IOT_req and _IOT_recv from the _IOT_
macros defined in /usr/include/i386-gnu/bits/ioctls.h and reading the
description on missing _IOT in
http://www.gnu.org/software/hurd/hurd/porting/guidelines.html

Can somebody verify this? The last entry in the structs below is a
pointer and according to the link above the ioctl cannot be described
with the _IOT macros. If it is not possible with ioctls, how to add Hurd
support for such a package?

#define _IOT_ipmi_recv             _IOT (3 field types with #fields)
#define _IOT_ipmi_req              _IOT (3 field types with #fields)

struct ipmi_msg
{
  unsigned char netfn;
  unsigned char cmd;
  unsigned short data_len;
  unsigned char  *data;
};

struct ipmi_req
{
  unsigned char      *addr;
  unsigned int addr_len;
  long msgid;
  struct ipmi_msg msg;
};

struct ipmi_recv
{
  int recv_type;
  unsigned char      *addr;
  unsigned int addr_len;
  long msgid;
  struct ipmi_msg msg;
};





reply via email to

[Prev in Thread] Current Thread [Next in Thread]