Skip to contentSkip to conversation

tulip under linux sparc?

DISCUSSION David S. Miller 6 participants 9 messages Oct 5, 1999 – Oct 10, 1999

lore
Share & tools
lore
#0 lore raw

From: "nick" <[email protected]>
Date: Tue, 5 Oct 1999 14:35:12 +1000

Is it possible or not to get a Netgear 10/100 card, based on the tulip driver, working on a UE10 running Sparc Linux? (redhat 6.0)

If the card works with the de4x5.o driver under x86, it will work on UltraSparc/PCI as well.

Later,
David S. Miller
[email protected]

#1 lore raw

Anyone,

Is it possible or not to get a Netgear 10/100 card, based on the tulip driver, working on a UE10 running Sparc Linux? (redhat 6.0)

thanks

nick

#2 lore raw
In reply to David S. Miller
Quoted 4 lines · nick

Anyone,

Is it possible or not to get a Netgear 10/100 card, based on the tulip driver, working on a UE10 running Sparc Linux? (redhat 6.0)

It's not possible because the netgear card has a bios/microcode setup for a PC architecture. The Sun has to have a card that is designed for the OBP architecture.

=============================David Cooley N5XMT Internet: [email protected]
Packet: N5XMT@KQ4LO.#INT.NC.USA.NA T.A.P.R. Member #7068
We are Borg... Prepare to be assimilated!
=============================

#3 lore raw
In reply to David S. Miller

Date: Tue, 05 Oct 1999 09:10:32 -0400
From: David Cooley <[email protected]>

It's not possible because the netgear card has a bios/microcode setup for a PC architecture. The Sun has to have a card that is designed for the OBP architecture.

_Please_ don't spread around misinformation like this, it simply isn't true.

The issue is that these NetGEAR cards are LiteON Tulip based, and not supported by the de4x5 driver, but the tulip.c one which I haven't done the "endianness/64-bit" portability fixes to.

I use all sorts of Tulip based cards, even quad-tulip Adaptec ones, all the time in my Ultra/PCI machines. All of them have x86 bios's, which mean you just can't boot from them under OBP, nothing more.

Later,
David S. Miller
[email protected]

#4 lore raw
In reply to David S. Miller
Quoted 10 lines · David S. Miller

Date: Tue, 05 Oct 1999 09:10:32 -0400
From: David Cooley <[email protected]>

It's not possible because the netgear card has a bios/microcode setup for a PC architecture. The Sun has to have a card that is designed for the OBP architecture.

_Please_ don't spread around misinformation like this, it simply isn't true.

Quoted 7 lines

The issue is that these NetGEAR cards are LiteON Tulip based, and not supported by the de4x5 driver, but the tulip.c one which I haven't done the "endianness/64-bit" portability fixes to.

I use all sorts of Tulip based cards, even quad-tulip Adaptec ones, all the time in my Ultra/PCI machines. All of them have x86 bios's, which mean you just can't boot from them under OBP, nothing more.

Hmm... Didn't know that...
Someone had asked on one of Newsgroups I frequent a while back about using PCI cards from a PC because they were less expensive, and I said to try it, they may work... PCI is PCI. I got blasted by about 6 people with the OBP compliant thing... Other than a SCSI card used for the boot disk or a net card used for booting on a diskless client, would there be any restrictions on using PC based PCI cards of any type?

=============================David Cooley N5XMT Internet: [email protected]
Packet: N5XMT@KQ4LO.#INT.NC.USA.NA T.A.P.R. Member #7068
We are Borg... Prepare to be assimilated!
=============================

#5 lore raw
In reply to David S. Miller

Date: Tue, 05 Oct 1999 11:04:34 -0400
From: David Cooley <[email protected]>

Other than a SCSI card used for the boot disk or a net card used for booting on a diskless client, would there be any restrictions on using PC based PCI cards of any type?

It's all a matter of whether the driver has been hacked into being portable or not yet. I even have some $19USD NE2000 PCI clones in one of my PCI Ultras.

Later,
David S. Miller
[email protected]

#6 lore raw
In reply to David S. Miller
Quoted 8 lines · David Cooley

Hmm... Didn't know that...
Someone had asked on one of Newsgroups I frequent a while back about using PCI cards from a PC because they were less expensive, and I said to try it, they may work... PCI is PCI. I got blasted by about 6 people with the OBP compliant thing... Other than a SCSI card used for the boot disk or a net card used for booting on a diskless client, would there be any restrictions on using PC based PCI cards of any type?

I think that the issue is that, to be functional at boot time, there has to be OBP driver code for the card *either* in the card *or* in the system OBP. Sun's stock OBP has driver code for some basic PCI cards, but it could not be described as "wide support for most cards". Manufacturers that wish to sell in the SPARC/PCI market have the option of writing their own OBP driver and putting it in ROM on the card in a standard manner; in that case the system OBP will find it and can branch to that code at boot time. Adaptec does this with some of their SCSI cards, for example. But once a system is up and running, the ability of an OS to use the card is a function of the OS. It may be the case that Solaris won't use cards that aren't reported by the OBP, but Linux can go ahead and probe for cards that the OBP didn't recognize. (Did I get this right, Dave?)

--Bob

Signature · 6 lines
==============================
Bob Drzyzgula                             It's not a problem
[email protected]                until something bad happens
==============================
        http://www.drzyzgula.org/bob/electronics/
==============================
#7 lore raw
In reply to David S. Miller
Quoted 5 lines · Bob Drzyzgula

I think that the issue is that, to be functional at boot time, there has to be OBP driver code for the card *either* in the card *or* in the system OBP. Sun's stock OBP has driver code for some basic PCI cards, but it could not be described as "wide support for most cards". Manufacturers that wish to sell in the SPARC/PCI market have the

Quoted 8 lines

option of writing their own OBP driver and putting it in ROM on the card in a standard manner; in that case the system OBP will find it and can branch to that code at boot time. Adaptec does this with some of their SCSI cards, for example. But once a system is up and running, the ability of an OS to use the card is a function of the OS. It may be the case that Solaris won't use cards that aren't reported by the OBP, but Linux can go ahead and probe for cards that the OBP didn't recognize. (Did I get this right, Dave?)

Pretty much, yeah. Most PCI cards should work, With a few minor exceptions, such as _old_ Buslogic scsi boards tend to make my u10 not get _to_ openboot, some cards do some rather obnoxious things with their DMA, like ess Maestro's and a couple of other sound cards i've got.

But yeah, there isn't any good reason a vendor can't make a PCI card that works fine on a sparc and an x86 (and an alpha, and a powerpc). OBP support just affects doing things from the firmware, like booting the device.

-- Peter

"Who's scruffy-looking?"

		-- Solo
#8 lore raw
In reply to David S. Miller
Quoted 9 lines · David Cooley
Quoted 4 lines · nick

Anyone,

Is it possible or not to get a Netgear 10/100 card, based on the tulip driver, working on a UE10 running Sparc Linux? (redhat 6.0)

It's not possible because the netgear card has a bios/microcode setup for a PC architecture. The Sun has to have a card that is designed for the OBP architecture.

This not true. I've used both a standard PC 3Com 3c905 network card and a standard PC Adaptec 2940 card in an Ultra 5. It works fine with Linux.

(Note that You can't load the kernel from a SCSI disk without the right BIOS, but Linux can use the devices without problem after the kernel is loaded. - In fact the Ultra 5 that I am typing this on is swapping off of a SCSI disk through the standard PC Adaptec controller.)

Steve
[email protected]