lkml.org 
[lkml]   [2006]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] hpet header sanitization
Date
On Tuesday 21 March 2006 23:46, Randy.Dunlap wrote:
> +#define        HPET_IE_ON      _IO('h', 0x01)  /* interrupt on */
> +#define        HPET_IE_OFF     _IO('h', 0x02)  /* interrupt off */
> +#define        HPET_INFO       _IOR('h', 0x03, struct hpet_info)
> +#define        HPET_EPI        _IO('h', 0x04)  /* enable periodic */
> +#define        HPET_DPI        _IO('h', 0x05)  /* disable periodic */
> +#define        HPET_IRQFREQ    _IOW('h', 0x6, unsigned long)   /* IRQFREQ usec */

By the way, HPET_INFO and HPET_IRQFREQ don't work for 32 bit user space,
the driver needs a compat_ioctl() method to handle those.

Arnd <><
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-22 11:23    [W:3.947 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site