9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] etheresis driver
@ 2010-05-03 17:39 Jacob Todd
  2010-05-03 18:30 ` erik quanstrom
  0 siblings, 1 reply; 8+ messages in thread
From: Jacob Todd @ 2010-05-03 17:39 UTC (permalink / raw)
  To: 9fans

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

I was trying to compile a new kernel that included the ethersis[1] driver,
but I come across the following error when running `mk 'CONF=pcf'`

	8c -FTVw ethersis.c
	ethersis.c:118 external redeclaration of: Sse
		GLOBL ENUM ethersis.c:118
		GLOBL ENUM <eof>
	mk: 8c -FTVw ethersis.c  : exit status=rc 3504: 8c 3506: error

I did some grepping in /sys/src/9/pc and found out that dat.h declares
Sse first.  Anyone know a workaround? My config for the kernel is the
normal pcf config, with the following change:

	% 9 diff -c pcf pcfn 
	pcf:65,70 - pcfn:65,72
		ethersink
		ethersmc	devi82365 cis
		etherwavelan	wavelan devi82365 cis pci
	+ # sis 900
	+ 	ethersis	pci
		ethermedium
		pcmciamodem
		netdevmedium

[1]http://mirtchovski.com/lanlp9/sis900/ethersis.c

[-- Attachment #2: Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: [9fans] etheresis driver
  2010-05-03 17:39 [9fans] etheresis driver Jacob Todd
@ 2010-05-03 18:30 ` erik quanstrom
  2010-05-03 21:39   ` Jacob Todd
  0 siblings, 1 reply; 8+ messages in thread
From: erik quanstrom @ 2010-05-03 18:30 UTC (permalink / raw)
  To: 9fans

> I was trying to compile a new kernel that included the ethersis[1] driver,
> but I come across the following error when running `mk 'CONF=pcf'`
>
> 	8c -FTVw ethersis.c
> 	ethersis.c:118 external redeclaration of: Sse
> 		GLOBL ENUM ethersis.c:118
> 		GLOBL ENUM <eof>
> 	mk: 8c -FTVw ethersis.c  : exit status=rc 3504: 8c 3506: error

doesn't ether83815.c work?

- erik



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

* Re: [9fans] etheresis driver
  2010-05-03 18:30 ` erik quanstrom
@ 2010-05-03 21:39   ` Jacob Todd
  2010-05-04  2:16     ` erik quanstrom
  0 siblings, 1 reply; 8+ messages in thread
From: Jacob Todd @ 2010-05-03 21:39 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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

On Mon, May 03, 2010 at 02:30:58PM -0400, erik quanstrom wrote:
> doesn't ether83815.c work?
It doesn't seem to be working with my laptop. I've tried your advice from the
``native install'' thread, but was never able to get it to work. I probably
missed something. I'll test the 83815 driver again tomorrow.

[-- Attachment #2: Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: [9fans] etheresis driver
  2010-05-03 21:39   ` Jacob Todd
@ 2010-05-04  2:16     ` erik quanstrom
  2010-05-04  4:29       ` Jacob Todd
  0 siblings, 1 reply; 8+ messages in thread
From: erik quanstrom @ 2010-05-04  2:16 UTC (permalink / raw)
  To: 9fans

> It doesn't seem to be working with my laptop. I've tried your advice from the
> ``native install'' thread, but was never able to get it to work. I probably
> missed something. I'll test the 83815 driver again tomorrow.

if i had to guess, i'd imagine that the problem is in talking
to the eeprom.  do you have any additional information on
the chip you have?  for example, pci output or
output from /dev/kmesg on boot?  pngs are fine.

- erik



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

* Re: [9fans] etheresis driver
  2010-05-04  2:16     ` erik quanstrom
@ 2010-05-04  4:29       ` Jacob Todd
  2010-05-04 13:48         ` erik quanstrom
  0 siblings, 1 reply; 8+ messages in thread
From: Jacob Todd @ 2010-05-04  4:29 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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

On Mon, May 03, 2010 at 10:16:36PM -0400, erik quanstrom wrote:
> if i had to guess, i'd imagine that the problem is in talking
> to the eeprom.  do you have any additional information on
> the chip you have?  for example, pci output or
> output from /dev/kmesg on boot?  pngs are fine.
http://groups.google.com/group/comp.os.plan9/msg/a74bc8c10f2d5302

[-- Attachment #2: Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: [9fans] etheresis driver
  2010-05-04  4:29       ` Jacob Todd
@ 2010-05-04 13:48         ` erik quanstrom
  2010-05-04 19:46           ` Jacob Todd
  0 siblings, 1 reply; 8+ messages in thread
From: erik quanstrom @ 2010-05-04 13:48 UTC (permalink / raw)
  To: 9fans

> On Mon, May 03, 2010 at 10:16:36PM -0400, erik quanstrom wrote:
> > if i had to guess, i'd imagine that the problem is in talking
> > to the eeprom.  do you have any additional information on
> > the chip you have?  for example, pci output or
> > output from /dev/kmesg on boot?  pngs are fine.
> http://groups.google.com/group/comp.os.plan9/msg/a74bc8c10f2d5302

looks like you may have an unsupported phy.  there seem
to be many options.  (internal vs. external, etc.)  if that's
the case, neither ethersis or ether83815 support the phy you've
got.

- erik



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

* Re: [9fans] etheresis driver
  2010-05-04 13:48         ` erik quanstrom
@ 2010-05-04 19:46           ` Jacob Todd
  2010-05-04 20:03             ` erik quanstrom
  0 siblings, 1 reply; 8+ messages in thread
From: Jacob Todd @ 2010-05-04 19:46 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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

On Tue, May 04, 2010 at 09:48:32AM -0400, erik quanstrom wrote:
> looks like you may have an unsupported phy.  there seem
> to be many options.  (internal vs. external, etc.)  if that's
> the case, neither ethersis or ether83815 support the phy you've
> got.
That would suck.

otoh, according to /lib/oui (and if I remember what you said before correctly),
the ethernet address is 00e006 (00e006 silicon integrated sys. corp.). iirc,
ea is supposed to be in the form 112233445566, so would I have in plan9.ini
	ea=0000ee000066
?

[-- Attachment #2: Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: [9fans] etheresis driver
  2010-05-04 19:46           ` Jacob Todd
@ 2010-05-04 20:03             ` erik quanstrom
  0 siblings, 0 replies; 8+ messages in thread
From: erik quanstrom @ 2010-05-04 20:03 UTC (permalink / raw)
  To: 9fans

> otoh, according to /lib/oui (and if I remember what you said before correctly),
> the ethernet address is 00e006 (00e006 silicon integrated sys. corp.). iirc,
> ea is supposed to be in the form 112233445566, so would I have in plan9.ini
> 	ea=0000ee000066
> ?

/lib/oui is a list of prefixes.  so the owner of that prefix may
assign any 00e006xxyyzz address.  is you card getting an address
from eeprom?  if so, what is it?  you may need to add some
prints to get it, since reset isn't completing successfully.

- erik



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

end of thread, other threads:[~2010-05-04 20:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-03 17:39 [9fans] etheresis driver Jacob Todd
2010-05-03 18:30 ` erik quanstrom
2010-05-03 21:39   ` Jacob Todd
2010-05-04  2:16     ` erik quanstrom
2010-05-04  4:29       ` Jacob Todd
2010-05-04 13:48         ` erik quanstrom
2010-05-04 19:46           ` Jacob Todd
2010-05-04 20:03             ` erik quanstrom

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).