linux_util.h (7a14354549bffb9c7262ccd43a45cb38234fff87) | linux_util.h (060e48824720626ae71cbff2328ec91f4aab1839) |
---|---|
1/*- 2 * Copyright (c) 1994 Christos Zoulas 3 * Copyright (c) 1995 Frank van der Linden 4 * Copyright (c) 1995 Scott Bartram 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 96 unchanged lines hidden (view full) --- 105 }; \ 106 return (ENOSYS); \ 107} \ 108struct __hack 109 110void linux_msg(const struct thread *td, const char *fmt, ...) 111 __printflike(2, 3); 112 | 1/*- 2 * Copyright (c) 1994 Christos Zoulas 3 * Copyright (c) 1995 Frank van der Linden 4 * Copyright (c) 1995 Scott Bartram 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 96 unchanged lines hidden (view full) --- 105 }; \ 106 return (ENOSYS); \ 107} \ 108struct __hack 109 110void linux_msg(const struct thread *td, const char *fmt, ...) 111 __printflike(2, 3); 112 |
113struct linux_device_handler { 114 char *bsd_driver_name; 115 char *linux_driver_name; 116 char *bsd_device_name; 117 char *linux_device_name; 118 int linux_major; 119 int linux_minor; 120 int linux_char_device; 121}; 122 123int linux_device_register_handler(struct linux_device_handler *h); 124int linux_device_unregister_handler(struct linux_device_handler *h); 125char *linux_driver_get_name_dev(device_t dev); 126int linux_driver_get_major_minor(char *node, int *major, int *minor); 127char *linux_get_char_devices(void); 128void linux_free_get_char_devices(char *string); 129 |
|
113#endif /* !_LINUX_UTIL_H_ */ | 130#endif /* !_LINUX_UTIL_H_ */ |