Print this page
cstyle sort of updates
7127  remove -Wno-missing-braces from Makefile.uts


 285 /*
 286  * static int
 287  * _nsc_frz_attach()
 288  *      Attach a device to this i/o module.
 289  *
 290  * Calling/Exit State:
 291  *      Returns EACCES in all cricumstances.
 292  *
 293  * Description:
 294  *      This function is called by the nsctl module when it wishes
 295  *      to attach the device to this I/O module (ie. as part of
 296  *      nsc_reserve() processing).  This function unconditionally
 297  *      returns an error which forces the nsc_reserve() to fail, and
 298  *      so no access to possible to the underlying device.
 299  */
 300 static int
 301 _nsc_frz_attach() { return (EACCES); }
 302 
 303 
 304 static nsc_def_t _nsc_frz_def[] = {
 305         "Open",         (uintptr_t)_nsc_frz_open,               0,
 306         "Close",        (uintptr_t)_nsc_frz_close,              0,
 307         "Attach",       (uintptr_t)_nsc_frz_attach,             0,
 308         "Provide",      0,                              0,
 309         0,              0,                              0
 310 };


 285 /*
 286  * static int
 287  * _nsc_frz_attach()
 288  *      Attach a device to this i/o module.
 289  *
 290  * Calling/Exit State:
 291  *      Returns EACCES in all cricumstances.
 292  *
 293  * Description:
 294  *      This function is called by the nsctl module when it wishes
 295  *      to attach the device to this I/O module (ie. as part of
 296  *      nsc_reserve() processing).  This function unconditionally
 297  *      returns an error which forces the nsc_reserve() to fail, and
 298  *      so no access to possible to the underlying device.
 299  */
 300 static int
 301 _nsc_frz_attach() { return (EACCES); }
 302 
 303 
 304 static nsc_def_t _nsc_frz_def[] = {
 305         { "Open",       (uintptr_t)_nsc_frz_open,       0 },
 306         { "Close",      (uintptr_t)_nsc_frz_close,      0 },
 307         { "Attach",     (uintptr_t)_nsc_frz_attach,     0 },
 308         { "Provide",    (uintptr_t)NULL,                0 },
 309         { NULL,         (uintptr_t)NULL,                0 }
 310 };