9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] PCMCIA 3CCFE574BT 10/100Mb ethernet driver
@ 2001-09-28 12:18 jmk
  2001-09-28 12:34 ` Boyd Roberts
  2001-09-28 12:59 ` [9fans] iPAC networking Digby Tarvin
  0 siblings, 2 replies; 5+ messages in thread
From: jmk @ 2001-09-28 12:18 UTC (permalink / raw)
  To: 9fans

I believe, never having seen one, that the 3CCFE574BT is a PCMCIA card based on
the chip used in the 3C905, but without the busmastering capability; the older 3C589
PCMCIA cards were based on the chip used in the original 3C509 series adapters.
The 3CCFE575BT is a Cardbus card using the full capabilities of the 3c905[BC] chips.

I think.

Given the way the 3C589 driver you have initialises and then just uses the base
elnk3 driver, it's possible you could add in the 3CCFE574BT with little change.
Of course, when 3Com wedges these PCI chips into PCMCIA/Cardbus cards there sometimes
are changes in the way they operate, e.g. the way interrupts are acknowledged on
the 3CCFE575BT.

A start would be to run aux/pcmcia and see if it looks plausible; on a 3C589 you get

	% aux/pcmcia
	device 268435456 bytes of 0ns unknown
	attr device 8192 bytes of 150ns EEPROM
	version 4.1
		3Com Corporation
		3C589D
		TP/BNC LAN Card Ver. 2a
		000002
	configuration registers at (0)0x10000 (1)0x10002
	configuration 1 (default)
		I/O device,
		Vcc:  Vnominal 5000000uV Iavg 30mA Ipeak 50mA Ipowerdown 5000uA
		max wait 700ns
		max ready/busy wait 500000ns
		IO space 4 address lines selectable 8bit or 8&16bit access
		interrupts:level, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
	configuration 3
		Vcc:  Vnominal 5000000uV Iavg 200mA Ipeak 200mA Ipowerdown 5000uA
	%

Someone here has been working very hard on integrating PCMCIA and Cardbus
support and we can handle the 3CCFE575BT now; there are a lot of changes to make
that happen and it won't be available until the next major release.

--jim

On Fri Sep 28 07:40:32 EDT 2001, boyd@fr.inter.net wrote:
> has anyone got one?  or any pointers?
>
> i'd like, at some point, to have ethernet.
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] PCMCIA 3CCFE574BT 10/100Mb ethernet driver
  2001-09-28 12:18 [9fans] PCMCIA 3CCFE574BT 10/100Mb ethernet driver jmk
@ 2001-09-28 12:34 ` Boyd Roberts
  2001-09-28 12:59 ` [9fans] iPAC networking Digby Tarvin
  1 sibling, 0 replies; 5+ messages in thread
From: Boyd Roberts @ 2001-09-28 12:34 UTC (permalink / raw)
  To: 9fans

> I believe, never having seen one, that the 3CCFE574BT is a PCMCIA card based on
> the chip used in the 3C905, but without the busmastering capability; the older 3C589
> PCMCIA cards were based on the chip used in the original 3C509 series adapters.
> The 3CCFE575BT is a Cardbus card using the full capabilities of the 3c905[BC] chips.

that sounds right.  thanks.  i'll let you know how i get on.

they look pretty similar:

    3com
    Megahertz 574B
    B
    001
    ...
    Vcc:  Vnominal 5000000uV Iavg 30mA Ipeak 50mA Ipowerdown 5000uA
    ...
    IO space 5 address lines ...

[that stuff was typed]




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [9fans] iPAC networking
  2001-09-28 12:18 [9fans] PCMCIA 3CCFE574BT 10/100Mb ethernet driver jmk
  2001-09-28 12:34 ` Boyd Roberts
@ 2001-09-28 12:59 ` Digby Tarvin
  1 sibling, 0 replies; 5+ messages in thread
From: Digby Tarvin @ 2001-09-28 12:59 UTC (permalink / raw)
  To: 9fans

Hi all,

Just looking at gathering together all the bits necessary to load
Plan9 onto my iPAQ, and would like to know what accessories are
supported by the port so far.

In particular, given that the LAN is so central to Plan9, what supported
options currently exist for connecting to a network?

I guess there is always a serial ppp connection, but I would like to be
able to plug in to an existing ethernet network without relying on special
software on some other host. Are any PCMCIA cards supported?
A USB ethernet interface would be nice, as it would leave the expansion
free for disk storage, but I am guessing that would be a little ambitious
at this stage.

The sort of thing I would like to be able to do is pull an iPAQ out
of my pocket, plug into somebody else's LAN (after updating the IP
addresses using the built in display) and then boot Plan9.
Then walk over to a random Unix or Windows PC and fire up a vnc
viewer to get a familair development environment with a more comfortable
sized keyboard and screen..

Any suggestions?

Regards,
DigbyT
--
Digby R. S. Tarvin                                              digbyt@acm.org
http://www.cthulhu.dircon.co.uk


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] PCMCIA 3CCFE574BT 10/100Mb ethernet driver
@ 2001-09-28 13:55 Peter Bosch
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Bosch @ 2001-09-28 13:55 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 359 bytes --]

For the 575 (CardBus), the PCI BAR2 register contains the address for
the cardbus specific registers.  Treat this address as an array of 3 ulongs
and acknowledge each interrupt as follows:

/* On the 575B and C, interrupts need to be acknowledged in CardBus memory space */
static void
intrack3c575(ulong *cbfns)
{
	cbfns[1] = 0x8000;
}

peter.


[-- Attachment #2: Type: message/rfc822, Size: 2993 bytes --]

From: jmk@plan9.bell-labs.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] PCMCIA 3CCFE574BT 10/100Mb ethernet driver
Date: Fri, 28 Sep 2001 08:18:46 -0400
Message-ID: <20010928121849.68177199E7@mail.cse.psu.edu>

I believe, never having seen one, that the 3CCFE574BT is a PCMCIA card based on
the chip used in the 3C905, but without the busmastering capability; the older 3C589
PCMCIA cards were based on the chip used in the original 3C509 series adapters.
The 3CCFE575BT is a Cardbus card using the full capabilities of the 3c905[BC] chips.

I think.

Given the way the 3C589 driver you have initialises and then just uses the base
elnk3 driver, it's possible you could add in the 3CCFE574BT with little change.
Of course, when 3Com wedges these PCI chips into PCMCIA/Cardbus cards there sometimes
are changes in the way they operate, e.g. the way interrupts are acknowledged on
the 3CCFE575BT.

A start would be to run aux/pcmcia and see if it looks plausible; on a 3C589 you get

	% aux/pcmcia
	device 268435456 bytes of 0ns unknown
	attr device 8192 bytes of 150ns EEPROM
	version 4.1
		3Com Corporation
		3C589D
		TP/BNC LAN Card Ver. 2a
		000002
	configuration registers at (0)0x10000 (1)0x10002
	configuration 1 (default)
		I/O device,
		Vcc:  Vnominal 5000000uV Iavg 30mA Ipeak 50mA Ipowerdown 5000uA
		max wait 700ns
		max ready/busy wait 500000ns
		IO space 4 address lines selectable 8bit or 8&16bit access
		interrupts:level, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
	configuration 3
		Vcc:  Vnominal 5000000uV Iavg 200mA Ipeak 200mA Ipowerdown 5000uA
	%

Someone here has been working very hard on integrating PCMCIA and Cardbus
support and we can handle the 3CCFE575BT now; there are a lot of changes to make
that happen and it won't be available until the next major release.

--jim

On Fri Sep 28 07:40:32 EDT 2001, boyd@fr.inter.net wrote:
> has anyone got one?  or any pointers?
>
> i'd like, at some point, to have ethernet.
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [9fans] PCMCIA 3CCFE574BT 10/100Mb ethernet driver
@ 2001-09-28 11:36 Boyd Roberts
  0 siblings, 0 replies; 5+ messages in thread
From: Boyd Roberts @ 2001-09-28 11:36 UTC (permalink / raw)
  To: 9fans

has anyone got one?  or any pointers?

i'd like, at some point, to have ethernet.




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-09-28 13:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-28 12:18 [9fans] PCMCIA 3CCFE574BT 10/100Mb ethernet driver jmk
2001-09-28 12:34 ` Boyd Roberts
2001-09-28 12:59 ` [9fans] iPAC networking Digby Tarvin
  -- strict thread matches above, loose matches on Subject: below --
2001-09-28 13:55 [9fans] PCMCIA 3CCFE574BT 10/100Mb ethernet driver Peter Bosch
2001-09-28 11:36 Boyd Roberts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).