mrsas_linux.c (9b3ece1c2eb92a881cb2553271e123382bfe31c1) | mrsas_linux.c (6469bdcdb6a5968dc7edfcfb495d427b4bfdb3dd) |
---|---|
1/* 2 * Copyright (c) 2015, AVAGO Tech. All rights reserved. Author: Kashyap Desai, 3 * Copyright (c) 2014, LSI Corp. All rights reserved. Author: Kashyap Desai, 4 * Sibananda Sahu Support: freebsdraid@avagotech.com 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: --- 53 unchanged lines hidden (view full) --- 62#else 63#include <machine/../linux/linux.h> 64#include <machine/../linux/linux_proto.h> 65#endif 66#include <compat/linux/linux_ioctl.h> 67#include <compat/linux/linux_util.h> 68 69#include <dev/mrsas/mrsas.h> | 1/* 2 * Copyright (c) 2015, AVAGO Tech. All rights reserved. Author: Kashyap Desai, 3 * Copyright (c) 2014, LSI Corp. All rights reserved. Author: Kashyap Desai, 4 * Sibananda Sahu Support: freebsdraid@avagotech.com 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: --- 53 unchanged lines hidden (view full) --- 62#else 63#include <machine/../linux/linux.h> 64#include <machine/../linux/linux_proto.h> 65#endif 66#include <compat/linux/linux_ioctl.h> 67#include <compat/linux/linux_util.h> 68 69#include <dev/mrsas/mrsas.h> |
70#undef COMPAT_FREEBSD32 |
|
70#include <dev/mrsas/mrsas_ioctl.h> 71 72/* There are multiple ioctl number ranges that need to be handled */ 73#define MRSAS_LINUX_IOCTL_MIN 0x4d00 74#define MRSAS_LINUX_IOCTL_MAX 0x4d01 75 76static linux_ioctl_function_t mrsas_linux_ioctl; 77static struct linux_ioctl_handler mrsas_linux_handler = {mrsas_linux_ioctl, --- 63 unchanged lines hidden --- | 71#include <dev/mrsas/mrsas_ioctl.h> 72 73/* There are multiple ioctl number ranges that need to be handled */ 74#define MRSAS_LINUX_IOCTL_MIN 0x4d00 75#define MRSAS_LINUX_IOCTL_MAX 0x4d01 76 77static linux_ioctl_function_t mrsas_linux_ioctl; 78static struct linux_ioctl_handler mrsas_linux_handler = {mrsas_linux_ioctl, --- 63 unchanged lines hidden --- |