[comp.sys.mac.programmer] Getting generic NuBus card info

marc@Apple.COM (Mark Dawson) (08/17/90)

I'm trying to write a routine that returns information about any NuBus card
found in the NuBus slot (especially the board ID and card name, secondarily
the revision and company's name/id?).

I'm not sure how exactly to do this. I've seen code snippets that look for
video cards and ethernet cards (filling in the spCategory & spCType fields),
but not one that wants ALL categories and types.  The code I've seen to get
the card name uses the SReadDrvrName() call.  IS this really the card name?

Any direct help or pointing to where I can find more code snippets would be
greatly appreciated.

Thanks,

Mark

-- 
---------------------------------
Mark Dawson                Service Diagnostic Engineering
AppleLink: Dawson.M

Apple says what it says; I say what I say.  We're different
---------------------------------