87f6c6625d
most devsw referenced functions are now static, as they are in the same file as their devsw structure. I've also added DEVFS support for nearly every device in the system, however many of the devices have 'incorrect' names under DEVFS because I couldn't quickly work out the correct naming conventions. (but devfs won't be coming on line for a month or so anyhow so that doesn't matter) If you "OWN" a device which would normally have an entry in /dev then search for the devfs_add_devsw() entries and munge to make them right.. check out similar devices to see what I might have done in them in you can't see what's going on.. for a laugh compare conf.c conf.h defore and after... :) I have not doen DEVFS entries for any DISKSLICE devices yet as that will be a much more complicated job.. (pass 5 :) pass 4 will be to make the devsw tables of type (cdevsw * ) rather than (cdevsw) seems to work here.. complaints to the usual places.. :)
12 lines
177 B
C
12 lines
177 B
C
#ifndef _MACHINE_CONF_H_
|
|
#define _MACHINE_CONF_H_
|
|
|
|
#ifdef KERNEL
|
|
#ifndef ACTUALLY_LKM_NOT_KERNEL
|
|
#include "ioconf.h"
|
|
#endif
|
|
|
|
#endif /* KERNEL */
|
|
|
|
#endif /* !_MACHINE_CONF_H_ */
|