Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Networking With Open Transport / Part 2 - Open Transport Reference
Chapter 26 - Ports Reference / Constants and Data Types


Bus Type Constants

You use the following constants to specify the bus type of port:

enum{
      kOTUnknownBusPort    = 0,
      kOTMotherboardBus    = 1,
      kOTNuBus             = 2,
      kOTPCIBus            = 3,
      kOTGeoPort           = 4,
      kOTPCCordBus         = 5,
      kOTFireWireBus       = 6,
      kOTLastBusIndex      = 15
   };
Constant descriptions

kOTUnknownBusPort
The port's bus type is not a known type.
kOTMotherboardBus
The port is on the motherboard.
kOTNuBus
The port is on a NuBus.
kOTPCIBus
The port is on a PCI bus.
kOTGeoPort
The port is a GeoPort device.
kOTPCMCIABus
The port is on a PCCard bus.
kOTFireWireBus
The port is on a Firewire bus.
kOTLastBusIndex
The maximum bus type that the port can support.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998