Sun Java Solaris Communities My SDN Account Join SDN
 
Documentation

Solaris (Intel Platform Edition) - Device Driver Writer's Orientation

 

Page 59 of 66


Network Drivers: DLPI and GLD (cont)

Device-Dependent GLD Drivers:
  • Interface between GLD and device-dependent driver is at the MAC layer
  • Drivers share a "macinfo" data structure with GLD for each device instance
  • Drivers must implement a small set of MAC-layer functions:
    • reset(), start(), stop() to start and stop the card
    • saddr(), sdmulti(), prom() to program addresses and promiscuous mode
    • gstat() to update kernel statistics
    • send() to send a packet
    • intr() to handle a receive interrupt

FIRST   PREVIOUS  NEXT   LAST  CONTENTS

Return to White Papers