[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sis 900



Hello Matthijs,

Sunday, June 8, 2003, 8:33:28 PM, you wrote:

Ok but the problem is in "phy" device
that is new network cad of Sis see that :

.....
sis0: <SiS 900 10/100BaseTX> port 0x1800-0x18ff mem 0xd0004000-0xd0004fff irq 5 at device 4.0 on pci0
sis0: Ethernet address: 00:40:ca:c2:31:d9
miibus0: <MII bus> on sis0
rlphy0: <RTL8201L 10/100 media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
....

This is from FreeBSD 4.8 but OpenBSD can not suport this phy device
i see in source of the both kernels but i am not developer and can
not translate from freebsd source to openbsd :((

see the source
that is from miidevs.h on freebsd :
...
#define MII_OUI_REALTEK 0x000020        /* RealTek Semicondctor */
...
/* RealTek Semiconductor PHYs */
#define MII_MODEL_REALTEK_RTL8201L      0x0020
#define MII_STR_REALTEK_RTL8201L        "RTL8201L 10/100 media interface"
....

on netbsd and openbsd have not this source and both system can not run
my hardware i test netbsd 1.6.1 and openbsd 3.3

and have more difference in source btw rlphy.c on freebsd and openbsd

maby openbsd developers could write correctly sorce for this network
card

Thanks

MM> What happens if you do this:

MM> ifconfig sis0 <ip_address> netmask <netmask address>

MM> Otherwise you can force the nic into 100Mbit Full Duplex or what you are
MM> running on.

MM> On Sun, 2003-06-08 at 06:45, Georgi Makedonski wrote:
>> Hello,
>> 
>> I'm runnin OpenBSD 3.3 Box but have a lot of problem
>> first is network my big problem Sis 900 ... on slackware
>> and windows working fine but on OpenBSD have problem
>> see that :
>> 
>> #ifocnfig -m sis0
>> sis0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
>>         address: 00:40:ca:c2:31:d9
>>         media: Ethernet none (none)
>>         supported media:
>>                 media none
>> 
>> #cat /etc/hostname.sis0
>> inet 172.16.88.200 255.255.0.0 NONE media autoselect
>> 
>> #cat /usr/src/sys/arch/i386/conf/MG | grep ukphy
>> ukphy*  at mii? phy ?                           # "unknown" PHYs
>> 
>> #cat /usr/src/sys/arch/i386/conf/MG | grep sis
>> sis*    at pci? dev ? function ?                # SiS 900/7016 ethernet
>> 
>> 
>> #dmesg
>> OpenBSD 3.3 (MG) #0: Sun Jun  8 08:14:43 CEST 2003
>>     root@zxmkl62.extern.uni-tuebingen.de:/usr/src/sys/arch/i386/compile/MG
>> cpu0: Intel Pentium 4 ("GenuineIntel" 686-class) 2.60 GHz
>> cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SIMD,3DNOW
>> real mem  = 534294528 (521772K)
>> avail mem = 492232704 (480696K)
>> using 4278 buffers containing 26816512 bytes (26188K) of memory
>> mainbus0 (root)
>> bios0 at mainbus0: AT/286+(1b) BIOS, date 04/04/02, BIOS32 rev. 0 @ 0xfd890
>> pcibios0 at bios0: rev. 2.1 @ 0xfd890/0x770
>> pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfdf50/144 (7 entries)
>> pcibios0: PCI Interrupt Router at 000:02:0 ("SIS 85C503 PCI System I/O Chipset" rev 0x00)
>> pcibios0: PCI bus #2 is the last bus
>> bios0: ROM list: 0xc0000/0xf400 0xd0000/0x6000!
>> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
>> pchb0 at pci0 dev 0 function 0 "SIS 648 Host-PCI" rev 0x03
>> ppb0 at pci0 dev 1 function 0 "SIS 86C202 VGA" rev 0x00
>> pci1 at ppb0 bus 1
>> vga1 at pci1 dev 0 function 0 vendor "Nvidia", unknown product 0x324 rev 0xa1
>> wsdisplay0 at vga1: console (80x25, vt100 emulation)
>> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
>> pcib0 at pci0 dev 2 function 0 "SIS 85C503 PCI System I/O Chipset" rev 0x14
>> pciide0 at pci0 dev 2 function 5 "SIS 5513 EIDE" rev 0x00: DMA, channel 0 wired to compatibility, channel 1 wired to
>> compatibility
>> wd0 at pciide0 channel 0 drive 0: <IC25N040ATCS04-0>
>> wd0: 16-sector PIO, LBA, 38154MB, 16383 cyl, 16 head, 63 sec, 78140160 sectors
>> wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
>> atapiscsi0 at pciide0 channel 1 drive 0
>> scsibus0 at atapiscsi0: 2 targets
>> cd0 at scsibus0 targ 0 lun 0: <SAMSUNG, CDRW/DVD SN-324B, U102> SCSI0 5/cdrom removable
>> cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
>> auich0 at pci0 dev 2 function 7 "SIS 7012 AC97 Audio" rev 0xa0: irq 5, SiS7012 AC97
>> ac97: codec id 0x414c4720 (Avance Logic <20>)
>> ac97: codec features 20 bit DAC, 18 bit ADC, Realtek 3D
>> audio0 at auich0
>> ohci0 at pci0 dev 3 function 0 "SIS 5597/5598 USB" rev 0x0f: irq 5, OHCI version 1.0, legacy support
>> usb0 at ohci0: USB revision 1.0
>> uhub0 at usb0
>> uhub0: vendor 0x0000 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>> uhub0: 2 ports with 2 removable, self powered
>> ohci1 at pci0 dev 3 function 1 "SIS 5597/5598 USB" rev 0x0f: irq 5, OHCI version 1.0, legacy support
>> usb1 at ohci1: USB revision 1.0
>> uhub1 at usb1
>> uhub1: vendor 0x0000 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>> uhub1: 2 ports with 2 removable, self powered
>> ohci2 at pci0 dev 3 function 2 "SIS 5597/5598 USB" rev 0x0f: irq 5, OHCI version 1.0, legacy support
>> usb2 at ohci2: USB revision 1.0
>> uhub2 at usb2
>> uhub2: vendor 0x0000 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>> uhub2: 2 ports with 2 removable, self powered
>> "SIS 7002 USB" rev 0x00 at pci0 dev 3 function 3 not configured
>> sis0 at pci0 dev 4 function 0 "SIS 900 10/100BaseTX" rev 0x90: irq 5 address 00:40:ca:c2:31:d9
>> wi0 at pci0 dev 6 function 0 "Intersil PRISM2.5 Mini-PCI WLAN" rev 0x01: irq 10
>> wi0: PRISM2.5 ISL3874A(Mini-PCI), Firmware 1.1.1 (primary), 1.6.3 (station), address 00:07:ca:01:15:43
>> cbb0 at pci0 dev 12 function 0 "O2 Micro Inc OZ6912 and OZ6972 CardBus" rev 0x00: irq 10
>> isa0 at pcib0
>> isadma0 at isa0
>> pckbc0 at isa0 port 0x60/5
>> pckbd0 at pckbc0 (kbd slot)
>> pckbc0: using irq 1 for kbd slot
>> wskbd0 at pckbd0: console keyboard, using wsdisplay0
>> pms0 at pckbc0 (aux slot)
>> pckbc0: using irq 12 for aux slot
>> wsmouse0 at pms0 mux 0
>> pcppi0 at isa0 port 0x61
>> sysbeep0 at pcppi0
>> npx0 at isa0 port 0xf0/16: using exception 16
>> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
>> cardslot0 at cbb0 slot 0 flags 0
>> cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20
>> pcmcia0 at cardslot0
>> biomask c420 netmask c420 ttymask d422
>> pctr: user-level cycle counter enabled
>> dkcsum: wd0 matched BIOS disk 80
>> root on wd0a
>> rootdev=0x0 rrootdev=0x300 rawdev=0x302
>> umass0 at uhub1 port 2 configuration 1 interface 0
>> umass0: Generic USB Storage Device, rev 1.10/1.00, addr 2
>> umass0: using SCSI over BBB-P
>> scsibus1 at umass0: 2 targets
>> sd0 at scsibus1 targ 1 lun 0: <NEODIO, USB Storage-SMC, 302D> SCSI0 0/direct removable
>> sd0: mode sense (4) returned nonsense; using fictitious geometry
>> sd0(umass0:1:0): Check Condition on opcode 0x25
>>     SENSE KEY: Not Ready
>>      ASC/ASCQ: Medium Not Present
>> sd0(umass0:1:0): could not get size
>> sd0: 0MB, 0 cyl, 64 head, 32 sec, 512 bytes/sec, 0 sec total



-- 
Best regards,
 Georgi                            mailto:0x00@rambler.ru