Sun Microsystems, Inc.
spacerspacer
spacer www.sun.com docs.sun.com |
spacer
black dot
 
 
   
 

Writing Device Drivers

 
 
 
Copyright
  Preface
  1.  Solaris Kernel and Device Tree
  2.  Overview of Solaris Device Drivers
  3.  Multithreading
  4.  Properties and Events
  5.  Driver Autoconfiguration
  6.  Device Access -- Programmed I/O
  7.  Interrupt Handlers
  8.  Direct Memory Access (DMA)
  9.  Power Management
  10.  Drivers for Character Devices
  11.  Drivers for Block Devices
  12.  Mapping Device and Kernel Memory
  13.  Device Context Management
  14.  SCSI Target Drivers
  15.  SCSI Host Bus Adapter Drivers
  16.  Drivers for Network Devices
Generic LAN Driver Overview
Type DL_ETHER: Ethernet V2 and ISO 8802-3 (IEEE 802.3)
Types DL_TPR and DL_FDDI: SNAP Processing
Type DL_TPR: Source Routing
Style 1 and Style 2 DLPI Providers
Implemented DLPI Primitives
Implemented ioctl Functions
GLD Driver Requirements
Network Statistics
Declarations and Data Structures
gld_mac_info Structure
gld_stats Structure
GLD Arguments
GLD Entry Points
gldm_reset() Entry Point
gldm_start() Entry Point
gldm_stop() Entry Point
gldm_set_mac_addr() Entry Point
gldm_set_multicast() Entry Point
gldm_set_promiscuous() Entry Point
gldm_send() Entry Point
gldm_intr() Entry Point
gldm_get_stats() Entry Point
gldm_ioctl() Entry Point
GLD Return Values
GLD Service Routines
gld_mac_alloc() Function
gld_mac_free() Function
gld_register() Function
gld_unregister() Function
gld_recv() Function
gld_sched() Function
gld_intr() Function
  17.  Compiling, Loading, Packaging, and Testing Drivers
  18.  Debugging
  19.  Recommended Coding Practices
  A.  Hardware Overview
  B.  Summary of Solaris 9 DDI/DKI Services
  C.  Making a Device Driver 64-Bit Ready
  Index