Next-in-Thread Next Message

Question when is the *_attach invoked 

Forum: PCMCIA driver development
Date: 2000, Aug 01
From: lei sun lei

Hi:
  I am heading to develope a device driver for PCMCIA based data acquisition card. I compiled "dummy_cs" as module and loaded using "insmod". I view the log messages, it appeared that only init_module() function a invoked. but the *_attach() function was not invoked.
  My question are:
  1. I know the dev_info is a key string, but what string I should use? arbitrary?
  2. when is the *_attach function invoked, so driver instance could be created. 

  Can anybody tell me the procedure of these function being called and the caller.
  Thank you in advance!

lei

Next-in-Thread Next Message

Messages Inline: 1 All Outline: 1 2 All

1. None See "Anatomy of a Card Services Client Driver" in Programmer's Guide by David Hinds, 2000, Aug 01

Add Message to: "when is the *_attach invoked"

Members Subscribe Admin Mode Show Frames Help for HyperNews at pcmcia-cs.sourceforge.net 1.10