[Linux-Biella] Re: Scheda di rete a 10 Mbit
Alessandro Pastore
linux@ml.bilug.linux.it
Fri, 12 Dec 2003 16:17:46 +0100
On Fri, 12 Dec 2003 15:13:27 +0100
"Alberto R." <alus.r@tiscali.it> wrote:
> Bene, se sai come si fa a settare sta scheda a 10 Mbit me lo puoi dire
> per favore?
> Grazie Alberto
>
>
Non lo so, te l'avrei detto.
Sicuramente qualcosa tipo:
# /sbin/modprobe nomemodulo opzione
Dal sorgente del modulo (pcnet32.h) vedo:
-------------
#define PCNET32_PORT_AUI 0x00
#define PCNET32_PORT_10BT 0x01
#define PCNET32_PORT_GPSI 0x02
#define PCNET32_PORT_MII 0x03
#define PCNET32_PORT_PORTSEL 0x03
#define PCNET32_PORT_ASEL 0x04
#define PCNET32_PORT_100 0x40
#define PCNET32_PORT_FD 0x80
#define PCNET32_DMA_MASK 0xffffffff
---
.. poco dopo
---
static unsigned char options_mapping[] = {
PCNET32_PORT_ASEL, /* 0 Auto-select */
PCNET32_PORT_AUI, /* 1 BNC/AUI */
PCNET32_PORT_AUI, /* 2 AUI/BNC */
PCNET32_PORT_ASEL, /* 3 not supported */
PCNET32_PORT_10BT | PCNET32_PORT_FD, /* 4 10baseT-FD */
PCNET32_PORT_ASEL, /* 5 not supported */
PCNET32_PORT_ASEL, /* 6 not supported */
PCNET32_PORT_ASEL, /* 7 not supported */
PCNET32_PORT_ASEL, /* 8 not supported */
PCNET32_PORT_MII, /* 9 MII 10baseT */
PCNET32_PORT_MII | PCNET32_PORT_FD, /* 10 MII 10baseT-FD */
PCNET32_PORT_MII, /* 11 MII (autosel) */
PCNET32_PORT_10BT, /* 12 10BaseT */
PCNET32_PORT_MII | PCNET32_PORT_100, /* 13 MII 100BaseTx */
PCNET32_PORT_MII | PCNET32_PORT_100 | PCNET32_PORT_FD, /* 14 MII
100BaseTx-FD */ PCNET32_PORT_ASEL /* 15 not
supported */
Scrivi in lista per piacere
alex