home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / os2 / networki / 1383 < prev    next >
Encoding:
Internet Message Format  |  1992-09-15  |  2.1 KB

  1. Xref: sparky comp.os.os2.networking:1383 comp.os.os2.programmer:4982
  2. Path: sparky!uunet!wupost!waikato.ac.nz!hamish
  3. From: hamish@waikato.ac.nz
  4. Newsgroups: comp.os.os2.networking,comp.os.os2.programmer
  5. Subject: NDIS Protocol Init. What else do I do?
  6. Message-ID: <1992Sep16.135452.10811@waikato.ac.nz>
  7. Date: 16 Sep 92 13:54:52 +1200
  8. Organization: University of Waikato, Hamilton, New Zealand
  9. Lines: 38
  10.  
  11.  
  12. Is there anybody out there who has ever written an NDIS protocol driver? I am
  13. currently trying to get one working, but it will only recieve packets when
  14. tcpip is also bound to the same adapter. Needless to say this isn't exactly
  15. what I need. What am I doing wrong? I have the specs for 2.01 of the NDIS, and
  16. it doesn't mention anything special to wakeup the adapter. The NDIS MAC doesn't
  17. seem to support OpenAdapter (It returns no such function), and I have tried
  18. doing everything that the NDISPKT code does (ie turning indications off and on
  19. etc), but nothing seems to work unless ifndis and inet.sys are also loaded.
  20.  
  21. The exact sequence of calls I am using at bind time is...
  22.  
  23.  
  24. Send BIND command to MAC to get Common CHar Table etc..
  25. Call OpenAdapter
  26. Indications Off
  27. reset MAC
  28. Indications On
  29.  
  30. and return.
  31.  
  32. If tcpip is loaded this will work and I get packets arriving at RecieveChain,
  33. if this is the only protocol then I get nothing. What else magic needs to be
  34. done that I don't do?
  35.  
  36. TIA.
  37.  
  38. -- 
  39. ==============================================================================
  40. |  Hamish Marson   <h.marson@waikato.ac.nz>                             OS/2 |
  41. |  Programmer (n/5), School of Computing and Mathematical Sciences           | 
  42. |  University of Waikato,                                                    |
  43. |  Hamilton, New Zealand.                                                    |
  44. |Disclaimer:  Anything said in this message is the personal opinion of the   |
  45. |             finger hitting the keyboard & doesn't represent my employers   |
  46. |             opinion in any way. (ie we probably don't agree)               |
  47. ==============================================================================
  48.   Q. If Nuclear Tests are so safe, why don't the French do them under Paris?
  49.