Source-Changes archive

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

CVS commit: src/sys/dev/pci



Module Name:    src
Committed By:   andvar
Date:           Sun Jun  1 15:47:18 UTC 2025

Modified Files:
        src/sys/dev/pci: viaide.c

Log Message:
viaide(4): explicitly enable channels for VT6410 add-in cards.

VT6410 and VT6415 have different reasons for "missing" enable bits.

VT6410 uses the standard 0x40 offset for channel enable bits, but some add-in
cards have both channels disabled by default.  This requires explicitly
writing the enable bits; otherwise, devices will not be detected.  The same
bug is present in Linux and OpenBSD, where the bits are also simulated.
It was reported in Linux but closed as no-fix due to an unidentified root cause.

VT6415 returns 0 at offsets 0x40-0x43 and likely uses a different location
for its single channel enable bit, or it may not expose it at all.  Until
the correct offset is identified (if ever), the driver must simulate the
enable bits.


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/sys/dev/pci/viaide.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