mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* sis900 does not work in 2.4.10
@ 2001-10-09 19:57 seth goldberg
  2001-10-09 20:05 ` Robert Vojta
  2001-10-09 20:13 ` Fabian Arias
  0 siblings, 2 replies; 7+ messages in thread
From: seth goldberg @ 2001-10-09 19:57 UTC (permalink / raw)
  To: linux-kernel; +Cc: davem

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

Hi,

  I just upgraded to the ECS K7S5A Athlon M/B (SiS-735 based) and was
trying to get the onboard SiS900 ethernet adapter working.  It works
fine on 2.4.5, but when I try to get it going under 2.4.10, the only
thing I see happening is the number of xmit dropped increases in
ifconfig and dmesg revels a NETDEV WATCHDOG transmit timeout:

Oct  9 12:31:06 bergsoft kernel: NETDEV WATCHDOG: eth0: transmit timed
out
Oct  9 12:31:06 bergsoft kernel: eth0: Transmit timeout, status 00000005
00000000 

 I noticed that there were some changes in sis900.c put in for the
Realtek PHY (which is what is on thie board), but it was supposed to be
a FIX ;).

 I also have a good-ole' DEC 21140AE that works perfectly under both
2.4.10 and 2.4.5.  

  Does anyone have any suggestions?

 Thanks,
  Seth

PS: Please CC: me on any replies. Thanks!

-- Supplemental info --

# cat /proc/pci
PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: Silicon Integrated Systems [SiS] 735 Host (rev 1).
      Master Capable.  Latency=32.  
      Non-prefetchable 32 bit memory at 0xd0000000 [0xd1ffffff].
  Bus  0, device   1, function  0:
    PCI bridge: Silicon Integrated Systems [SiS] 5591/5592 AGP (rev 0).
      Master Capable.  Latency=64.  Min Gnt=10.
  Bus  0, device   2, function  0:
    ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 (rev 0).
  Bus  0, device   2, function  3:
    USB Controller: Silicon Integrated Systems [SiS] 7001 (#2) (rev 7).
      IRQ 11.
      Master Capable.  Latency=64.  Max Lat=80.
      Non-prefetchable 32 bit memory at 0xcffff000 [0xcfffffff].
  Bus  0, device   2, function  2:
    USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 7).
      IRQ 5.
      Master Capable.  Latency=64.  Max Lat=80.
      Non-prefetchable 32 bit memory at 0xcfffe000 [0xcfffefff].
  Bus  0, device   2, function  5:
    IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev
208).
      Master Capable.  Latency=16.  
      I/O at 0xff00 [0xff0f].
  Bus  0, device   2, function  7:
    Multimedia audio controller: Silicon Integrated Systems [SiS]
SiS7012 PCI Audio Accelerator (rev 160).
      IRQ 11.
      Master Capable.  Latency=64.  Min Gnt=52.Max Lat=11.
      I/O at 0xdc00 [0xdcff].
      I/O at 0xd800 [0xd83f].
  Bus  0, device   3, function  0:
    Ethernet controller: Silicon Integrated Systems [SiS] SiS900 10/100
Ethernet (rev 144).
      IRQ 11.
      Master Capable.  Latency=64.  Min Gnt=52.Max Lat=11.
      I/O at 0xd400 [0xd4ff].
      Non-prefetchable 32 bit memory at 0xcfffd000 [0xcfffdfff].
  Bus  0, device  11, function  0:
    Multimedia video controller: M-Pact, Inc. LS220D DVD Decoder (rev
2).
      IRQ 5.
      Master Capable.  Latency=64.  
      Prefetchable 32 bit memory at 0xcc000000 [0xccffffff].
  Bus  0, device  13, function  0:
    Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 34).
      IRQ 11.
      Master Capable.  Latency=96.  Min Gnt=20.Max Lat=40.
      I/O at 0xd000 [0xd07f].
      Non-prefetchable 32 bit memory at 0xcfffcf80 [0xcfffcfff].
  Bus  1, device   0, function  0:
    VGA compatible controller: nVidia Corporation GeForce 256 (rev 16).
      IRQ 5.
      Master Capable.  Latency=64.  Min Gnt=5.Max Lat=1.
      Non-prefetchable 32 bit memory at 0xce000000 [0xceffffff].
      Prefetchable 32 bit memory at 0xc0000000 [0xc7ffffff].

-----------------
.config is attached
=================

[-- Attachment #2: .config --]
[-- Type: text/plain, Size: 15364 bytes --]

#
# Automatically generated make config: don't edit
#
CONFIG_X86=y
CONFIG_ISA=y
# CONFIG_SBUS is not set
CONFIG_UID16=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y

#
# Processor type and features
#
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
CONFIG_MK7=y
# CONFIG_MCRUSOE is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MCYRIXIII is not set
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
# CONFIG_RWSEM_GENERIC_SPINLOCK is not set
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_X86_TSC=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_USE_3DNOW=y
CONFIG_X86_PGE=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
# CONFIG_TOSHIBA is not set
# CONFIG_MICROCODE is not set
CONFIG_X86_MSR=y
CONFIG_X86_CPUID=y
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
CONFIG_SMP=y
CONFIG_HAVE_DEC_LOCK=y

#
# General setup
#
CONFIG_NET=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_NAMES=y
# CONFIG_EISA is not set
# CONFIG_MCA is not set
# CONFIG_HOTPLUG is not set
# CONFIG_PCMCIA is not set
CONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
CONFIG_KCORE_ELF=y
# CONFIG_KCORE_AOUT is not set
CONFIG_BINFMT_AOUT=y
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=m
CONFIG_PM=y
# CONFIG_ACPI is not set
# CONFIG_APM is not set

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

#
# Parallel port support
#
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
CONFIG_PARPORT_PC_CML1=m
# CONFIG_PARPORT_SERIAL is not set
CONFIG_PARPORT_PC_FIFO=y
# CONFIG_PARPORT_PC_SUPERIO is not set
# CONFIG_PARPORT_AMIGA is not set
# CONFIG_PARPORT_MFC3 is not set
# CONFIG_PARPORT_ATARI is not set
# CONFIG_PARPORT_SUNBPP is not set
# CONFIG_PARPORT_OTHER is not set
CONFIG_PARPORT_1284=y

#
# Plug and Play configuration
#
# CONFIG_PNP is not set
# CONFIG_ISAPNP is not set
# CONFIG_PNPBIOS is not set

#
# Block devices
#
CONFIG_BLK_DEV_FD=y
# CONFIG_BLK_DEV_XD is not set
# CONFIG_PARIDE is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_NBD=m
CONFIG_BLK_DEV_RAM=m
CONFIG_BLK_DEV_RAM_SIZE=4096
# CONFIG_BLK_DEV_INITRD is not set

#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set
# CONFIG_BLK_DEV_MD is not set
# CONFIG_MD_LINEAR is not set
# CONFIG_MD_RAID0 is not set
# CONFIG_MD_RAID1 is not set
# CONFIG_MD_RAID5 is not set
# CONFIG_MD_MULTIPATH is not set
# CONFIG_BLK_DEV_LVM is not set

#
# Networking options
#
CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
# CONFIG_NETLINK is not set
# CONFIG_NETFILTER is not set
# CONFIG_FILTER is not set
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
CONFIG_INET_ECN=y
# CONFIG_SYN_COOKIES is not set
# CONFIG_IPV6 is not set
# CONFIG_KHTTPD is not set
# CONFIG_ATM is not set

#
#  
#
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_DECNET is not set
# CONFIG_BRIDGE is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_LLC is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set

#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set

#
# Telephony Support
#
# CONFIG_PHONE is not set
# CONFIG_PHONE_IXJ is not set
# CONFIG_PHONE_IXJ_PCMCIA is not set

#
# ATA/IDE/MFM/RLL support
#
CONFIG_IDE=y

#
# IDE, ATA and ATAPI Block devices
#
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_IDE is not set
# CONFIG_BLK_DEV_HD is not set
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
# CONFIG_BLK_DEV_IDEDISK_VENDOR is not set
# CONFIG_BLK_DEV_IDEDISK_FUJITSU is not set
# CONFIG_BLK_DEV_IDEDISK_IBM is not set
# CONFIG_BLK_DEV_IDEDISK_MAXTOR is not set
# CONFIG_BLK_DEV_IDEDISK_QUANTUM is not set
# CONFIG_BLK_DEV_IDEDISK_SEAGATE is not set
# CONFIG_BLK_DEV_IDEDISK_WD is not set
# CONFIG_BLK_DEV_COMMERIAL is not set
# CONFIG_BLK_DEV_TIVO is not set
# CONFIG_BLK_DEV_IDECS is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set

#
# IDE chipset support/bugfixes
#
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_CMD640_ENHANCED is not set
# CONFIG_BLK_DEV_ISAPNP is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_BLK_DEV_ADMA=y
# CONFIG_BLK_DEV_OFFBOARD is not set
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_IDEDMA_PCI_WIP=y
# CONFIG_IDEDMA_NEW_DRIVE_LISTINGS is not set
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_AEC62XX_TUNING is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_WDC_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_AMD74XX_OVERRIDE is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_HPT34X_AUTODMA is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_PIIX is not set
# CONFIG_PIIX_TUNING is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_OPTI621 is not set
CONFIG_BLK_DEV_PDC202XX=y
CONFIG_PDC202XX_BURST=y
# CONFIG_PDC202XX_FORCE is not set
# CONFIG_BLK_DEV_SVWKS is not set
CONFIG_BLK_DEV_SIS5513=y
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDE_CHIPSETS is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_IDEDMA_IVB is not set
# CONFIG_DMA_NONPCI is not set
CONFIG_BLK_DEV_IDE_MODES=y
# CONFIG_BLK_DEV_ATARAID is not set
# CONFIG_BLK_DEV_ATARAID_PDC is not set
# CONFIG_BLK_DEV_ATARAID_HPT is not set

#
# SCSI support
#
# CONFIG_SCSI is not set

#
# Fusion MPT device support
#
# CONFIG_FUSION is not set
# CONFIG_FUSION_BOOT is not set
# CONFIG_FUSION_ISENSE is not set
# CONFIG_FUSION_CTL is not set
# CONFIG_FUSION_LAN is not set

#
# IEEE 1394 (FireWire) support (EXPERIMENTAL)
#
# CONFIG_IEEE1394 is not set

#
# I2O device support
#
# CONFIG_I2O is not set
# CONFIG_I2O_PCI is not set
# CONFIG_I2O_BLOCK is not set
# CONFIG_I2O_LAN is not set
# CONFIG_I2O_SCSI is not set
# CONFIG_I2O_PROC is not set

#
# Network device support
#
CONFIG_NETDEVICES=y

#
# ARCnet devices
#
# CONFIG_ARCNET is not set
CONFIG_DUMMY=m
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set

#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
# CONFIG_SUNLANCE is not set
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNBMAC is not set
# CONFIG_SUNQE is not set
# CONFIG_SUNLANCE is not set
# CONFIG_SUNGEM is not set
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set
# CONFIG_AT1700 is not set
# CONFIG_DEPCA is not set
# CONFIG_HP100 is not set
# CONFIG_NET_ISA is not set
CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_AC3200 is not set
# CONFIG_APRICOT is not set
# CONFIG_CS89x0 is not set
# CONFIG_TULIP is not set
CONFIG_DE4X5=m
# CONFIG_DGRS is not set
# CONFIG_DM9102 is not set
# CONFIG_EEPRO100 is not set
# CONFIG_LNE390 is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
# CONFIG_NE3210 is not set
# CONFIG_ES3210 is not set
# CONFIG_8139TOO is not set
# CONFIG_8139TOO_PIO is not set
# CONFIG_8139TOO_TUNE_TWISTER is not set
# CONFIG_8139TOO_8129 is not set
CONFIG_SIS900=m
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_TLAN is not set
# CONFIG_VIA_RHINE is not set
# CONFIG_WINBOND_840 is not set
# CONFIG_LAN_SAA9730 is not set
# CONFIG_NET_POCKET is not set

#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_MYRI_SBUS is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_SK98LIN is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PLIP is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set

#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set

#
# Token Ring devices
#
# CONFIG_TR is not set
# CONFIG_NET_FC is not set
# CONFIG_RCPCI is not set
# CONFIG_SHAPER is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set

#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set

#
# IrDA (infrared) support
#
# CONFIG_IRDA is not set

#
# ISDN subsystem
#
# CONFIG_ISDN is not set

#
# Old CD-ROM drivers (not SCSI, not IDE)
#
# CONFIG_CD_NO_IDESCSI is not set

#
# Input core support
#
# CONFIG_INPUT is not set
# CONFIG_INPUT_KEYBDEV is not set
# CONFIG_INPUT_MOUSEDEV is not set
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_EVDEV is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_SERIAL_CONSOLE=y
# CONFIG_SERIAL_EXTENDED is not set
# CONFIG_SERIAL_NONSTANDARD is not set
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=512
# CONFIG_PRINTER is not set
# CONFIG_PPDEV is not set

#
# I2C support
#
CONFIG_I2C=m
CONFIG_I2C_ALGOBIT=m
# CONFIG_I2C_PHILIPSPAR is not set
# CONFIG_I2C_ELV is not set
# CONFIG_I2C_VELLEMAN is not set
CONFIG_I2C_ALGOPCF=m
# CONFIG_I2C_ELEKTOR is not set
CONFIG_I2C_CHARDEV=m

#
# Mice
#
# CONFIG_BUSMOUSE is not set
CONFIG_MOUSE=y
CONFIG_PSMOUSE=y
# CONFIG_82C710_MOUSE is not set
# CONFIG_PC110_PAD is not set

#
# Joysticks
#
# CONFIG_INPUT_GAMEPORT is not set

#
# Input core support is needed for gameports
#

#
# Input core support is needed for joysticks
#
# CONFIG_QIC02_TAPE is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_INTEL_RNG is not set
CONFIG_NVRAM=y
CONFIG_RTC=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
CONFIG_AGP=y
# CONFIG_AGP_INTEL is not set
# CONFIG_AGP_I810 is not set
# CONFIG_AGP_VIA is not set
# CONFIG_AGP_AMD is not set
CONFIG_AGP_SIS=y
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_SWORKS is not set
# CONFIG_DRM is not set

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set

#
# File systems
#
# CONFIG_QUOTA is not set
CONFIG_AUTOFS_FS=y
CONFIG_AUTOFS4_FS=y
# CONFIG_REISERFS_FS is not set
# CONFIG_REISERFS_CHECK is not set
# CONFIG_ADFS_FS is not set
# CONFIG_ADFS_FS_RW is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_BFS_FS is not set
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
# CONFIG_UMSDOS_FS is not set
CONFIG_VFAT_FS=m
# CONFIG_EFS_FS is not set
# CONFIG_JFFS_FS is not set
# CONFIG_CRAMFS is not set
CONFIG_TMPFS=y
# CONFIG_RAMFS is not set
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
# CONFIG_MINIX_FS is not set
# CONFIG_VXFS_FS is not set
CONFIG_NTFS_FS=m
# CONFIG_NTFS_RW is not set
# CONFIG_HPFS_FS is not set
CONFIG_PROC_FS=y
# CONFIG_DEVFS_FS is not set
# CONFIG_DEVFS_MOUNT is not set
# CONFIG_DEVFS_DEBUG is not set
CONFIG_DEVPTS_FS=y
# CONFIG_QNX4FS_FS is not set
# CONFIG_QNX4FS_RW is not set
# CONFIG_ROMFS_FS is not set
CONFIG_EXT2_FS=y
# CONFIG_SYSV_FS is not set
CONFIG_UDF_FS=m
# CONFIG_UDF_RW is not set
# CONFIG_UFS_FS is not set
# CONFIG_UFS_FS_WRITE is not set

#
# Network File Systems
#
# CONFIG_CODA_FS is not set
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
# CONFIG_ROOT_NFS is not set
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
CONFIG_SUNRPC=m
CONFIG_LOCKD=m
CONFIG_LOCKD_V4=y
CONFIG_SMB_FS=m
# CONFIG_SMB_NLS_DEFAULT is not set
# CONFIG_NCP_FS is not set
# CONFIG_NCPFS_PACKET_SIGNING is not set
# CONFIG_NCPFS_IOCTL_LOCKING is not set
# CONFIG_NCPFS_STRONG is not set
# CONFIG_NCPFS_NFS_NS is not set
# CONFIG_NCPFS_OS2_NS is not set
# CONFIG_NCPFS_SMALLDOS is not set
# CONFIG_NCPFS_NLS is not set
# CONFIG_NCPFS_EXTRAS is not set

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y
CONFIG_SMB_NLS=y
CONFIG_NLS=y

#
# Native Language Support
#
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
CONFIG_NLS_ISO8859_1=y
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_UTF8 is not set

#
# Console drivers
#
CONFIG_VGA_CONSOLE=y
# CONFIG_VIDEO_SELECT is not set
# CONFIG_MDA_CONSOLE is not set

#
# Frame-buffer support
#
# CONFIG_FB is not set

#
# Sound
#
# CONFIG_SOUND is not set

#
# USB support
#
CONFIG_USB=m
# CONFIG_USB_DEBUG is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set

#
# USB Controllers
#
# CONFIG_USB_UHCI is not set
# CONFIG_USB_UHCI_ALT is not set
CONFIG_USB_OHCI=m

#
# USB Device Class drivers
#
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_BLUETOOTH is not set
# CONFIG_USB_STORAGE is not set
# CONFIG_USB_ACM is not set
# CONFIG_USB_PRINTER is not set

#
# USB Human Interface Devices (HID)
#

#
#   Input core support is needed for USB HID
#

#
# USB Imaging devices
#
# CONFIG_USB_DC2XX is not set
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_SCANNER is not set
# CONFIG_USB_MICROTEK is not set

#
# USB Multimedia devices
#
# CONFIG_USB_IBMCAM is not set
# CONFIG_USB_OV511 is not set
# CONFIG_USB_PWC is not set
# CONFIG_USB_SE401 is not set
# CONFIG_USB_DSBR is not set
# CONFIG_USB_DABUSB is not set

#
# USB Network adaptors
#
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_CATC is not set
# CONFIG_USB_CDCETHER is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_USBNET is not set

#
# USB port drivers
#
# CONFIG_USB_USS720 is not set

#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set

#
# USB misc drivers
#
# CONFIG_USB_RIO500 is not set

#
# Bluetooth support
#
# CONFIG_BLUEZ is not set

#
# Kernel hacking
#
# CONFIG_DEBUG_KERNEL is not set

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

* Re: sis900 does not work in 2.4.10
  2001-10-09 19:57 sis900 does not work in 2.4.10 seth goldberg
@ 2001-10-09 20:05 ` Robert Vojta
  2001-10-09 20:22   ` Jeff Garzik
  2001-10-09 20:13 ` Fabian Arias
  1 sibling, 1 reply; 7+ messages in thread
From: Robert Vojta @ 2001-10-09 20:05 UTC (permalink / raw)
  To: seth goldberg; +Cc: linux-kernel, davem

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

>   I just upgraded to the ECS K7S5A Athlon M/B (SiS-735 based) and was
> trying to get the onboard SiS900 ethernet adapter working.  It works
> fine on 2.4.5, but when I try to get it going under 2.4.10, the only
> thing I see happening is the number of xmit dropped increases in
> ifconfig and dmesg revels a NETDEV WATCHDOG transmit timeout:

  I have the SiS900 ethernet adapter in my laptop and now, I'm compiling
2.4.10-ac10, so I will write you after several minutes if it works here or
not ...

                                                            --Robert V0jta

-- 
    Robert Vojta <vojta at {pharocom.net - work | v0jta.net - private}>
          GPG: ID 1024D/A0CB7953            http://www.v0jta.net/ 

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

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

* Re: sis900 does not work in 2.4.10
  2001-10-09 19:57 sis900 does not work in 2.4.10 seth goldberg
  2001-10-09 20:05 ` Robert Vojta
@ 2001-10-09 20:13 ` Fabian Arias
  1 sibling, 0 replies; 7+ messages in thread
From: Fabian Arias @ 2001-10-09 20:13 UTC (permalink / raw)
  To: seth goldberg; +Cc: linux-kernel, davem

On Tue, 9 Oct 2001, seth goldberg wrote:

> Hi,
>
>   I just upgraded to the ECS K7S5A Athlon M/B (SiS-735 based) and was
> trying to get the onboard SiS900 ethernet adapter working.  It works
> fine on 2.4.5, but when I try to get it going under 2.4.10, the only
>
>   Does anyone have any suggestions?

In my case, SiS630E based, also SiS900 eth :

ronto:~# lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 630 Host (rev 21)
00:00.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev
d0)
00:01.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513
00:01.1 Ethernet controller: Silicon Integrated Systems [SiS] SiS900
10/100 Ethernet (rev 83)
00:01.2 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 07)
00:01.3 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 07)
00:02.0 PCI bridge: Silicon Integrated Systems [SiS] 5591/5592 AGP
00:05.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev
10)
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] SiS630
GUI Accelerator+3D (rev 21)

ronto:~# uname -a
Linux ronto 2.4.10-ac9 #1 Mon Oct 8 14:06:53 CLT 2001 i686 unknown

100% Working.


>
>  Thanks,
>   Seth
>

 ---
 pub  1024D/0DD0F1CA 2001-09-19 Fabian A. Arias M. (dewback) <dewback@vtr.net>
     Key fingerprint = B478 850E 6C8A C388 2B65  68E5 9604 A4FC 0DD0 F1CA
              Debian GNU/Linux Sid - Kernel 2.4.10-ac9 - ReiserFS


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

* Re: sis900 does not work in 2.4.10
  2001-10-09 20:05 ` Robert Vojta
@ 2001-10-09 20:22   ` Jeff Garzik
  2001-10-09 21:45     ` Robert Vojta
  2001-10-09 22:44     ` sethg
  0 siblings, 2 replies; 7+ messages in thread
From: Jeff Garzik @ 2001-10-09 20:22 UTC (permalink / raw)
  To: Robert Vojta; +Cc: seth goldberg, linux-kernel, davem

FWIW I just checked in this patch, which was going to go to Linus today
or tomorrow, which contains updates for 630ET and ICS1893 PHY


diff -urN linux-2.4.10/drivers/net/sis900.c linux-2.4.10-sis900/drivers/net/sis900.c
--- linux-2.4.10/drivers/net/sis900.c	Mon Sep 10 01:45:43 2001
+++ linux-2.4.10-sis900/drivers/net/sis900.c	Wed Sep 26 10:34:44 2001
@@ -1,6 +1,6 @@
 /* sis900.c: A SiS 900/7016 PCI Fast Ethernet driver for Linux.
    Copyright 1999 Silicon Integrated System Corporation 
-   Revision:	1.08.00	Jun. 11 2001
+   Revision:	1.08.01	Aug. 25 2001
    
    Modified from the driver which is originally written by Donald Becker.
    
@@ -18,8 +18,9 @@
    preliminary Rev. 1.0 Jan. 18, 1998
    http://www.sis.com.tw/support/databook.htm
 
+   Rev 1.08.01 Aug. 25 2001 Hui-Fen Hsu update for 630ET & workaround for ICS1893 PHY
    Rev 1.08.00 Jun. 11 2001 Hui-Fen Hsu workaround for RTL8201 PHY and some bug fix
-   Rev 1.07.11 Apr.  2 2001 Hui-Fen Hsu  updates PCI drivers to use the new pci_set_dma_mask for kernel 2.4.3
+   Rev 1.07.11 Apr.  2 2001 Hui-Fen Hsu updates PCI drivers to use the new pci_set_dma_mask for kernel 2.4.3
    Rev 1.07.10 Mar.  1 2001 Hui-Fen Hsu <hfhsu@sis.com.tw> some bug fix & 635M/B support 
    Rev 1.07.09 Feb.  9 2001 Dave Jones <davej@suse.de> PCI enable cleanup
    Rev 1.07.08 Jan.  8 2001 Lei-Chun Chang added RTL8201 PHY support
@@ -65,7 +66,7 @@
 #include "sis900.h"
 
 static char version[] __devinitdata =
-KERN_INFO "sis900.c: v1.08.00  6/11/2001\n";
+KERN_INFO "sis900.c: v1.08.01  9/25/2001\n";
 
 static int max_interrupt_work = 40;
 static int multicast_filter_limit = 128;
@@ -404,8 +405,12 @@
 		ret = -ENODEV;
 		goto err_out_unregister;
 	}
+	
+	/* 630ET : set the mii access mode as software-mode */
+	if (revision == SIS630ET_900_REV)
+		outl(ACCESSMODE | inl(ioaddr + cr), ioaddr + cr);
 
-	/* probe for mii transciver */
+	/* probe for mii transceiver */
 	if (sis900_mii_probe(net_dev) == 0) {
 		ret = -ENODEV;
 		goto err_out_unregister;
@@ -513,6 +518,11 @@
         if ((sis_priv->mii->phy_id0 == 0x001D) &&
 	    ((sis_priv->mii->phy_id1&0xFFF0) == 0x8000))
         	status = sis900_reset_phy(net_dev, sis_priv->cur_phy);
+        
+        /* workaround for ICS1893 PHY */
+        if ((sis_priv->mii->phy_id0 == 0x0015) &&
+            ((sis_priv->mii->phy_id1&0xFFF0) == 0xF440))
+            	mdio_write(net_dev, sis_priv->cur_phy, 0x0018, 0xD200);
 
 	if(status & MII_STAT_LINK){
 		while (poll_bit) {
@@ -860,7 +870,7 @@
 
 	/* Enable all known interrupts by setting the interrupt mask. */
 	outl((RxSOVR|RxORN|RxERR|RxOK|TxURN|TxERR|TxIDLE), ioaddr + imr);
-	outl(RxENA, ioaddr + cr);
+	outl(RxENA | inl(ioaddr + cr), ioaddr + cr);
 	outl(IE, ioaddr + ier);
 
 	sis900_check_mode(net_dev, sis_priv->mii);
@@ -1037,7 +1047,7 @@
 	struct pci_dev *dev=NULL;
 
 	if ( !(revision == SIS630E_900_REV || revision == SIS630EA1_900_REV ||
-	       revision == SIS630A_900_REV) )
+	       revision == SIS630A_900_REV || revision ==  SIS630ET_900_REV) )
 		return;
 
 	dev = pci_find_device(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_630, dev);
@@ -1055,7 +1065,8 @@
 			min_value=(eq_value < min_value) ? eq_value : min_value;
 		}
 		/* 630E rule to determine the equalizer value */
-		if (revision == SIS630E_900_REV || revision == SIS630EA1_900_REV) {
+		if (revision == SIS630E_900_REV || revision == SIS630EA1_900_REV ||
+		    revision == SIS630ET_900_REV) {
 			if (max_value < 5)
 				eq_value=max_value;
 			else if (max_value >= 5 && max_value < 15)
@@ -1371,7 +1382,7 @@
 	net_dev->trans_start = jiffies;
 
 	/* FIXME: Should we restart the transmission thread here  ?? */
-	outl(TxENA, ioaddr + cr);
+	outl(TxENA | inl(ioaddr + cr), ioaddr + cr);
 
 	/* Enable all known interrupts by setting the interrupt mask. */
 	outl((RxSOVR|RxORN|RxERR|RxOK|TxURN|TxERR|TxIDLE), ioaddr + imr);
@@ -1406,7 +1417,7 @@
 	sis_priv->tx_ring[entry].bufptr = pci_map_single(sis_priv->pci_dev,
 		skb->data, skb->len, PCI_DMA_TODEVICE);
 	sis_priv->tx_ring[entry].cmdsts = (OWN | skb->len);
-	outl(TxENA, ioaddr + cr);
+	outl(TxENA | inl(ioaddr + cr), ioaddr + cr);
 
 	if (++sis_priv->cur_tx - sis_priv->dirty_tx < NUM_TX_DESC) {
 		/* Typical path, tell upper layer that more transmission is possible */
@@ -1622,7 +1633,7 @@
 		}
 	}
 	/* re-enable the potentially idle receive state matchine */
-	outl(RxENA , ioaddr + cr );
+	outl(RxENA | inl(ioaddr + cr), ioaddr + cr );
 
 	return 0;
 }
@@ -1720,7 +1731,7 @@
 	outl(0x0000, ioaddr + ier);
 
 	/* Stop the chip's Tx and Rx Status Machine */
-	outl(RxDIS | TxDIS, ioaddr + cr);
+	outl(RxDIS | TxDIS | inl(ioaddr + cr), ioaddr + cr);
 
 	del_timer(&sis_priv->timer);
 
@@ -2036,7 +2047,7 @@
 	outl(0, ioaddr + imr);
 	outl(0, ioaddr + rfcr);
 
-	outl(RxRESET | TxRESET | RESET, ioaddr + cr);
+	outl(RxRESET | TxRESET | RESET | inl(ioaddr + cr), ioaddr + cr);
 	
 	/* Check that the chip has finished the reset. */
 	while (status && (i++ < 1000)) {
diff -urN linux-2.4.10/drivers/net/sis900.h linux-2.4.10-sis900/drivers/net/sis900.h
--- linux-2.4.10/drivers/net/sis900.h	Wed Jul 18 09:53:55 2001
+++ linux-2.4.10-sis900/drivers/net/sis900.h	Wed Sep 26 10:34:45 2001
@@ -41,7 +41,7 @@
 
 /* Symbolic names for bits in various registers */
 enum sis900_command_register_bits {
-	RELOAD  = 0x00000400,
+	RELOAD  = 0x00000400, ACCESSMODE = 0x00000200,/* ET */
 	RESET   = 0x00000100, SWI = 0x00000080, RxRESET = 0x00000020,
 	TxRESET = 0x00000010, RxDIS = 0x00000008, RxENA = 0x00000004,
 	TxDIS   = 0x00000002, TxENA = 0x00000001
@@ -239,7 +239,8 @@
 enum sis900_revision_id {
 	SIS630A_900_REV = 0x80,		SIS630E_900_REV = 0x81,
 	SIS630S_900_REV = 0x82,		SIS630EA1_900_REV = 0x83,
-	SIS635A_900_REV = 0x90,		SIS900B_900_REV = 0x03
+	SIS630ET_900_REV = 0x84,	SIS635A_900_REV = 0x90,
+	SIS900B_900_REV = 0x03
 };
 
 enum sis630_revision_id {


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

* Re: sis900 does not work in 2.4.10
  2001-10-09 20:22   ` Jeff Garzik
@ 2001-10-09 21:45     ` Robert Vojta
  2001-10-09 22:44     ` sethg
  1 sibling, 0 replies; 7+ messages in thread
From: Robert Vojta @ 2001-10-09 21:45 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Robert Vojta, seth goldberg, linux-kernel, davem

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

> FWIW I just checked in this patch, which was going to go to Linus today
> or tomorrow, which contains updates for 630ET and ICS1893 PHY

Hi,
  when I try my SiS900 under 2.4.10-ac10 with or without Jeff's patch, it
works very well here in my laptop. But I have feelings that this kernel
(fastly configured 2.4.10-ac10 with Rik's eating patch) is little bit slower
than my previous one (2.4.6-ac2) ...

Best regards,
                                                            --Robert V0jta

-- 
    Robert Vojta <vojta at {pharocom.net - work | v0jta.net - private}>
          GPG: ID 1024D/A0CB7953            http://www.v0jta.net/ 

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

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

* Re: sis900 does not work in 2.4.10
  2001-10-09 20:22   ` Jeff Garzik
  2001-10-09 21:45     ` Robert Vojta
@ 2001-10-09 22:44     ` sethg
  2001-10-10  1:35       ` Jeff Garzik
  1 sibling, 1 reply; 7+ messages in thread
From: sethg @ 2001-10-09 22:44 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Robert Vojta, seth goldberg, linux-kernel, davem

Hi,

  Installing the 2.4.10-ac10 patch fixed this problem 100%.  Thanks ver
much for the help.

 --Seth

On Tue, 9 Oct 2001, Jeff Garzik wrote:

}FWIW I just checked in this patch, which was going to go to Linus today
}or tomorrow, which contains updates for 630ET and ICS1893 PHY
}
}
}diff -urN linux-2.4.10/drivers/net/sis900.c linux-2.4.10-sis900/drivers/net/sis900.c
}--- linux-2.4.10/drivers/net/sis900.c	Mon Sep 10 01:45:43 2001
}+++ linux-2.4.10-sis900/drivers/net/sis900.c	Wed Sep 26 10:34:44 2001
}@@ -1,6 +1,6 @@
} /* sis900.c: A SiS 900/7016 PCI Fast Ethernet driver for Linux.
}    Copyright 1999 Silicon Integrated System Corporation
}-   Revision:	1.08.00	Jun. 11 2001
}+   Revision:	1.08.01	Aug. 25 2001
}
}    Modified from the driver which is originally written by Donald Becker.
}
}@@ -18,8 +18,9 @@
}    preliminary Rev. 1.0 Jan. 18, 1998
}    http://www.sis.com.tw/support/databook.htm
}
}+   Rev 1.08.01 Aug. 25 2001 Hui-Fen Hsu update for 630ET & workaround for ICS1893 PHY
}    Rev 1.08.00 Jun. 11 2001 Hui-Fen Hsu workaround for RTL8201 PHY and some bug fix
}-   Rev 1.07.11 Apr.  2 2001 Hui-Fen Hsu  updates PCI drivers to use the new pci_set_dma_mask for kernel 2.4.3
}+   Rev 1.07.11 Apr.  2 2001 Hui-Fen Hsu updates PCI drivers to use the new pci_set_dma_mask for kernel 2.4.3
}    Rev 1.07.10 Mar.  1 2001 Hui-Fen Hsu <hfhsu@sis.com.tw> some bug fix & 635M/B support
}    Rev 1.07.09 Feb.  9 2001 Dave Jones <davej@suse.de> PCI enable cleanup
}    Rev 1.07.08 Jan.  8 2001 Lei-Chun Chang added RTL8201 PHY support
}@@ -65,7 +66,7 @@
} #include "sis900.h"
}
} static char version[] __devinitdata =
}-KERN_INFO "sis900.c: v1.08.00  6/11/2001\n";
}+KERN_INFO "sis900.c: v1.08.01  9/25/2001\n";
}
} static int max_interrupt_work = 40;
} static int multicast_filter_limit = 128;
}@@ -404,8 +405,12 @@
} 		ret = -ENODEV;
} 		goto err_out_unregister;
} 	}
}+
}+	/* 630ET : set the mii access mode as software-mode */
}+	if (revision == SIS630ET_900_REV)
}+		outl(ACCESSMODE | inl(ioaddr + cr), ioaddr + cr);
}
}-	/* probe for mii transciver */
}+	/* probe for mii transceiver */
} 	if (sis900_mii_probe(net_dev) == 0) {
} 		ret = -ENODEV;
} 		goto err_out_unregister;
}@@ -513,6 +518,11 @@
}         if ((sis_priv->mii->phy_id0 == 0x001D) &&
} 	    ((sis_priv->mii->phy_id1&0xFFF0) == 0x8000))
}         	status = sis900_reset_phy(net_dev, sis_priv->cur_phy);
}+
}+        /* workaround for ICS1893 PHY */
}+        if ((sis_priv->mii->phy_id0 == 0x0015) &&
}+            ((sis_priv->mii->phy_id1&0xFFF0) == 0xF440))
}+            	mdio_write(net_dev, sis_priv->cur_phy, 0x0018, 0xD200);
}
} 	if(status & MII_STAT_LINK){
} 		while (poll_bit) {
}@@ -860,7 +870,7 @@
}
} 	/* Enable all known interrupts by setting the interrupt mask. */
} 	outl((RxSOVR|RxORN|RxERR|RxOK|TxURN|TxERR|TxIDLE), ioaddr + imr);
}-	outl(RxENA, ioaddr + cr);
}+	outl(RxENA | inl(ioaddr + cr), ioaddr + cr);
} 	outl(IE, ioaddr + ier);
}
} 	sis900_check_mode(net_dev, sis_priv->mii);
}@@ -1037,7 +1047,7 @@
} 	struct pci_dev *dev=NULL;
}
} 	if ( !(revision == SIS630E_900_REV || revision == SIS630EA1_900_REV ||
}-	       revision == SIS630A_900_REV) )
}+	       revision == SIS630A_900_REV || revision ==  SIS630ET_900_REV) )
} 		return;
}
} 	dev = pci_find_device(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_630, dev);
}@@ -1055,7 +1065,8 @@
} 			min_value=(eq_value < min_value) ? eq_value : min_value;
} 		}
} 		/* 630E rule to determine the equalizer value */
}-		if (revision == SIS630E_900_REV || revision == SIS630EA1_900_REV) {
}+		if (revision == SIS630E_900_REV || revision == SIS630EA1_900_REV ||
}+		    revision == SIS630ET_900_REV) {
} 			if (max_value < 5)
} 				eq_value=max_value;
} 			else if (max_value >= 5 && max_value < 15)
}@@ -1371,7 +1382,7 @@
} 	net_dev->trans_start = jiffies;
}
} 	/* FIXME: Should we restart the transmission thread here  ?? */
}-	outl(TxENA, ioaddr + cr);
}+	outl(TxENA | inl(ioaddr + cr), ioaddr + cr);
}
} 	/* Enable all known interrupts by setting the interrupt mask. */
} 	outl((RxSOVR|RxORN|RxERR|RxOK|TxURN|TxERR|TxIDLE), ioaddr + imr);
}@@ -1406,7 +1417,7 @@
} 	sis_priv->tx_ring[entry].bufptr = pci_map_single(sis_priv->pci_dev,
} 		skb->data, skb->len, PCI_DMA_TODEVICE);
} 	sis_priv->tx_ring[entry].cmdsts = (OWN | skb->len);
}-	outl(TxENA, ioaddr + cr);
}+	outl(TxENA | inl(ioaddr + cr), ioaddr + cr);
}
} 	if (++sis_priv->cur_tx - sis_priv->dirty_tx < NUM_TX_DESC) {
} 		/* Typical path, tell upper layer that more transmission is possible */
}@@ -1622,7 +1633,7 @@
} 		}
} 	}
} 	/* re-enable the potentially idle receive state matchine */
}-	outl(RxENA , ioaddr + cr );
}+	outl(RxENA | inl(ioaddr + cr), ioaddr + cr );
}
} 	return 0;
} }
}@@ -1720,7 +1731,7 @@
} 	outl(0x0000, ioaddr + ier);
}
} 	/* Stop the chip's Tx and Rx Status Machine */
}-	outl(RxDIS | TxDIS, ioaddr + cr);
}+	outl(RxDIS | TxDIS | inl(ioaddr + cr), ioaddr + cr);
}
} 	del_timer(&sis_priv->timer);
}
}@@ -2036,7 +2047,7 @@
} 	outl(0, ioaddr + imr);
} 	outl(0, ioaddr + rfcr);
}
}-	outl(RxRESET | TxRESET | RESET, ioaddr + cr);
}+	outl(RxRESET | TxRESET | RESET | inl(ioaddr + cr), ioaddr + cr);
}
} 	/* Check that the chip has finished the reset. */
} 	while (status && (i++ < 1000)) {
}diff -urN linux-2.4.10/drivers/net/sis900.h linux-2.4.10-sis900/drivers/net/sis900.h
}--- linux-2.4.10/drivers/net/sis900.h	Wed Jul 18 09:53:55 2001
}+++ linux-2.4.10-sis900/drivers/net/sis900.h	Wed Sep 26 10:34:45 2001
}@@ -41,7 +41,7 @@
}
} /* Symbolic names for bits in various registers */
} enum sis900_command_register_bits {
}-	RELOAD  = 0x00000400,
}+	RELOAD  = 0x00000400, ACCESSMODE = 0x00000200,/* ET */
} 	RESET   = 0x00000100, SWI = 0x00000080, RxRESET = 0x00000020,
} 	TxRESET = 0x00000010, RxDIS = 0x00000008, RxENA = 0x00000004,
} 	TxDIS   = 0x00000002, TxENA = 0x00000001
}@@ -239,7 +239,8 @@
} enum sis900_revision_id {
} 	SIS630A_900_REV = 0x80,		SIS630E_900_REV = 0x81,
} 	SIS630S_900_REV = 0x82,		SIS630EA1_900_REV = 0x83,
}-	SIS635A_900_REV = 0x90,		SIS900B_900_REV = 0x03
}+	SIS630ET_900_REV = 0x84,	SIS635A_900_REV = 0x90,
}+	SIS900B_900_REV = 0x03
} };
}
} enum sis630_revision_id {
}
}


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

* Re: sis900 does not work in 2.4.10
  2001-10-09 22:44     ` sethg
@ 2001-10-10  1:35       ` Jeff Garzik
  0 siblings, 0 replies; 7+ messages in thread
From: Jeff Garzik @ 2001-10-10  1:35 UTC (permalink / raw)
  To: sethg; +Cc: Robert Vojta, seth goldberg, linux-kernel, davem

On Tue, 9 Oct 2001 sethg@eng.sun.com wrote:
>   Installing the 2.4.10-ac10 patch fixed this [sis900] problem 100%.
>   Thanks ver much for the help.

Note that the only sis900 change in 2.4.10-ac10 is the addition of a
line MODULE_LICENSE("GPL").  Either your compiler is malfunctioning or
some other bug is/was affecting you.

	Jeff





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

end of thread, other threads:[~2001-10-10  1:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-09 19:57 sis900 does not work in 2.4.10 seth goldberg
2001-10-09 20:05 ` Robert Vojta
2001-10-09 20:22   ` Jeff Garzik
2001-10-09 21:45     ` Robert Vojta
2001-10-09 22:44     ` sethg
2001-10-10  1:35       ` Jeff Garzik
2001-10-09 20:13 ` Fabian Arias

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®