English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 27 October 2015, 13:37   #1
chaos
Registered User
 
chaos's Avatar
 
Join Date: Mar 2013
Location: Slovenia
Posts: 138
Zorro ethernet driver (minimig)

I'm trying to write a SANA driver for a custom ethernet expansion for minimig.

I have the hardware part more or less working: Zorro Autoconfig works, and I can access TX & RX buffers for the ethernet frames.

I am a little stuck with the driver side.
Since this is a Zorro device, should the driver be able to be binded with BindDrivers(), requiring an icon with tooltype PRODUCT=xxx/xx? Or are SANA drivers, even for Zorro cards different?

Also, does anyone know if there's source code available for any Zorro ethernet device driver? I can't find any ...
chaos is offline  
Old 27 October 2015, 14:53   #2
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 6,985
I don't think you need to use BindDrivers. BindDrivers is only needed if your driver does something standalone without the need to be opened by a program (for example mount partitions).

SANA drivers usually are explicitly opened by the TCP/IP stack. Therefore you can use
FindConfigDev() during OpenDevice() to find your hardware and learn about the address were it is located.

You can call FindConfigDev() repeatedly to find multiple cards of the same kind and then identify the right one by the unit number given to OpenDevice().
thomas is offline  
Old 27 October 2015, 15:35   #3
Locutus
Registered User
 
Join Date: Jul 2014
Location: Finland
Posts: 1,176
the CNet (PCMCIA NE2000) drivers come with sourcecode, but its in m68k Assembly. not the most convenient.

I think there is source code in C available for a A2065 SANA-II driver on Aminet, take a look.
Locutus is offline  
Old 28 October 2015, 00:01   #4
gulliver
BoingBagged
 
gulliver's Avatar
 
Join Date: Aug 2007
Location: The South of nowhere
Age: 46
Posts: 2,358
Ask user tnt23 here in EAB, see this thread where he developed a Zorro ethernet+ram card with drivers:

http://eab.abime.net/showthread.php?...ighlight=tnt23
gulliver is offline  
Old 28 October 2015, 00:30   #5
chaos
Registered User
 
chaos's Avatar
 
Join Date: Mar 2013
Location: Slovenia
Posts: 138
Great, thanks everybody! I think I have enough info, for the start at least
chaos 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
Zorro III memory card... now with Ethernet tnt23 Hardware pics 43 26 September 2018 08:40
Cnet driver and netgear FA410TX ethernet card not working melbourneben! support.Hardware 3 18 May 2016 21:02
alternative wireless ethernet driver bx20 support.Hardware 6 01 September 2010 09:37
Guaging interest in a Zorro II Ethernet Card aperez MarketPlace 21 27 January 2010 23:45
WANTED: Zorro Ethernet card; Ariadne, XSurf etc. d0pefish MarketPlace 8 01 December 2006 12:48

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 21:37.

Top

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