home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.2 (Developer) / NS_dev_3.2.iso / NextDeveloper / Headers / driverkit / IODeviceDescription.h < prev    next >
Text File  |  1993-08-06  |  966b  |  42 lines

  1. /*     Copyright (c) 1993 NeXT Computer, Inc.  All rights reserved. 
  2.  *
  3.  * IODeviceDescription.h.
  4.  *
  5.  * HISTORY
  6.  * 08-Jan-93    Doug Mitchell at NeXT
  7.  *      Created. 
  8.  */
  9.  
  10. #import <objc/Object.h>
  11. #import <mach/port.h>
  12. #import <driverkit/IOConfigTable.h>
  13.  
  14. /*
  15.  * IODeviceDescription object. This is basically a means for the kernel's 
  16.  * autoconfig and device loaders modules to pass a device port, a
  17.  * direct device id, and/or config information to a driver's +probe: method.
  18.  */
  19. @interface IODeviceDescription : Object
  20. {
  21. @private
  22.     port_t        _devicePort;
  23.     id        _directDevice;
  24.     IOConfigTable     *_configTable;
  25.     int        _IODeviceDescription_reserved[4];
  26.     
  27.     /*
  28.      * Other 'config' stuff to be subclassed here.
  29.      */
  30. }
  31.  
  32. - init;
  33. - free;
  34. - (port_t)devicePort;
  35. - (void)setDevicePort         : (port_t)devicePort;
  36. - directDevice;
  37. - (void)setDirectDevice     : directDevice;
  38. - (void)setConfigTable         : (IOConfigTable *)configTable;
  39. - (IOConfigTable *)configTable;
  40.  
  41. @end    /* IODeviceDescription */
  42.