English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 25 July 2013, 21:27   #1
tnt23
Registered User
 
tnt23's Avatar
 
Join Date: Feb 2008
Location: Saint-Petersburg / Russia
Posts: 324
Creating network device driver: multiple units?

Hi all,

Is it really necessary to have multiple units support in network device driver? Looking at 3c589 and Prism driver sources, can't help but notice they both are multiunit ones. What is the rationale behind having separate unit for every device opening? I can only think of a case where a TCP stack opens the device for usial work, and another application wants to access the device to gather statistics or sniff packets etc.

Perhaps there are other device drivers sources worth taking a look at.
tnt23 is offline  
Old 26 July 2013, 09:18   #2
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 6,985
You need multiple units if you have multiple network cards of the same type.
thomas is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
*UAE network device support? codeflash support.OtherUAE 8 07 October 2021 11:27
device driver C tutorial/skeleton ? watz Coders. General 2 04 September 2012 23:12
Is it possible to unload a device driver without rebooting? dabone support.Hardware 4 01 February 2010 18:13
(Offtopic?) Dos device driver modifcation query Silver Coders. General 16 14 February 2007 18:05
Wireless network driver beta version released Paul News 2 21 September 2004 05:29

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:15.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07009 seconds with 13 queries