Rename the ATABUSIO* ioctls from ('A', x) to ('A', 5x), as the former collide
with the APM ioctl. Reported by Havard Eidnes.
This commit is contained in:
parent
83b6847565
commit
1c57a4862a
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ataio.h,v 1.4 2004/08/01 21:40:41 bouyer Exp $ */
|
||||
/* $NetBSD: ataio.h,v 1.5 2004/08/02 19:47:11 bouyer Exp $ */
|
||||
|
||||
#ifndef _SYS_ATAIO_H_
|
||||
#define _SYS_ATAIO_H_
|
||||
@ -42,14 +42,14 @@ typedef struct atareq {
|
||||
struct atabusioscan_args {
|
||||
int at_dev; /* device to scan, -1 for wildcard */
|
||||
};
|
||||
#define ATABUSIOSCAN _IOW('A', 0, struct atabusioscan_args)
|
||||
#define ATABUSIOSCAN _IOW('A', 50, struct atabusioscan_args)
|
||||
|
||||
#define ATABUSIORESET _IO('A', 1) /* reset ATA bus */
|
||||
#define ATABUSIORESET _IO('A', 51) /* reset ATA bus */
|
||||
|
||||
struct atabusiodetach_args {
|
||||
int at_dev; /* device to detach; -1 for wildcard */
|
||||
};
|
||||
#define ATABUSIODETACH _IOW('A', 2, struct atabusiodetach_args)
|
||||
#define ATABUSIODETACH _IOW('A', 52, struct atabusiodetach_args)
|
||||
|
||||
|
||||
#endif /* _SYS_ATAIO_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user