Source-Changes archive

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

CVS commit: [netbsd-4] src/sys/dev/pci



Module Name:    src
Committed By:   rpaulo
Date:           Fri Sep  8 18:33:57 UTC 2006

Modified Files:
        src/sys/dev/pci [netbsd-4]: if_sk.c

Log Message:
Pull up following revision(s) (requested by riz in ticket #140):
        sys/dev/pci/if_sk.c: revision 1.31
        sys/dev/pci/if_sk.c: revision 1.32
        sys/dev/pci/if_sk.c: revision 1.27
        sys/dev/pci/if_sk.c: revision 1.28
        sys/dev/pci/if_sk.c: revision 1.29
Make this driver compile when SK_USEIOSPACE is defined - I have no
evidence that this is actually needed except for the existence of the
code itself, but if it's going to be here, it should compile.  Tested
briefly on my ASUS motherboard with built-in sk interface.
Some cleanup in skc_attach():
        - does not need splnet()
        - disestablish the interrupt and unmap bus space on failures.
Add byteswapping where appropriate, to allow things to work on
(at least some) bigendian systems - I tested on macppc.
>From brad@openbsd .
Cleanup, with no functional changes:
        - remove unused code
        - KNF
        - ANSI function declarations
        - replace printf() with aprint_error() except in debug functions
        - a few minor indentation/whitespace changes
In sk_watchdog(), attempt to reclaim pending TX descriptors before
resetting the hardware.  Should fix occasional watchdog timeouts
seen with this driver.
>From FreeBSD, via OpenBSD.


To generate a diff of this commit:
cvs rdiff -r1.26.4.1 -r1.26.4.2 src/sys/dev/pci/if_sk.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index