Skip to content

Commit c96f3e1

Browse files
Pull up following revision(s) (requested by andvar in ticket NetBSD#71):
share/man/man4/viaide.4: revision 1.13 sys/dev/pci/viaide.c: revision 1.105 viaide(4): add UDMA support for VT8233C IDE controller. The VT8233C is another obscure VIA southbridge and appears to be a variant of the VT8233 rather than the VT8233A (which supports ATA133). The C variant was paired with a 3Com network controller instead of VIA's own NIC. Detect the ISA-PCI bridge and enable UDMA100 capability for improved IDE performance. Update the viaide(4) man page and refine the list of supported VIA controllers.
1 parent 49fad97 commit c96f3e1

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

share/man/man4/viaide.4

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.\" $NetBSD: viaide.4,v 1.12 2025/04/21 20:37:48 andvar Exp $
1+
.\" $NetBSD: viaide.4,v 1.12.2.1 2025/10/26 12:44:46 martin Exp $
22
.\"
33
.\" Copyright (c) 2003 Manuel Bouyer.
44
.\"
@@ -22,7 +22,7 @@
2222
.\" INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
2323
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2424
.\"
25-
.Dd April 21, 2025
25+
.Dd October 17, 2025
2626
.Dt VIAIDE 4
2727
.Os
2828
.Sh NAME
@@ -45,11 +45,11 @@ Advanced Micro Devices AMD-756, 766, 768 and CS5536 IDE Controllers
4545
NVIDIA nForce, nForce2, nForce2 400, nForce3, nForce3 250,
4646
nForce4, MCP04, MCP55, MCP61, MCP65, MCP67 IDE and SATA Controllers.
4747
.It
48-
VIA Technologies VT82C586, VT82C586A, VT82C596A, VT82C686A, VT8233A,
49-
VT8235, VT8237/VT8237R/VT6420, VT8237A, VT8237S, VT8251, VT8261, CX700(M/M2),
50-
VX700, VX800/820, VX855/875, VX900/VX11 Integrated IDE and SATA Controllers,
51-
VT6415/VT6330 single-channel IDE Controllers, VT6410 IDE RAID Controller, and
52-
VT6421 SATA RAID & IDE Controller.
48+
VIA Technologies VT82C586, VT82C586A, VT82C586B, VT82C596A, VT82C596B,
49+
VT82C686A, VT82C686B, VT8233, VT8233A, VT8233C, VT8235, VT8237/VT8237R/VT6420,
50+
VT8237A, VT8237S, VT8251, VT8261, CX700(M/M2), VX700, VX800/820, VX855/875,
51+
VX900/VX11 Integrated IDE and SATA Controllers, VT6415/VT6330 single-channel IDE
52+
Controllers, VT6410 IDE RAID Controller, and VT6421 SATA RAID & IDE Controller.
5353
.El
5454
.Pp
5555
The 0x0002 flag forces the

sys/dev/pci/viaide.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: viaide.c,v 1.103 2025/06/01 15:56:43 andvar Exp $ */
1+
/* $NetBSD: viaide.c,v 1.103.2.1 2025/10/26 12:44:47 martin Exp $ */
22

33
/*
44
* Copyright (c) 1999, 2000, 2001 Manuel Bouyer.
@@ -26,7 +26,7 @@
2626
*/
2727

2828
#include <sys/cdefs.h>
29-
__KERNEL_RCSID(0, "$NetBSD: viaide.c,v 1.103 2025/06/01 15:56:43 andvar Exp $");
29+
__KERNEL_RCSID(0, "$NetBSD: viaide.c,v 1.103.2.1 2025/10/26 12:44:47 martin Exp $");
3030

3131
#include <sys/param.h>
3232
#include <sys/systm.h>
@@ -590,6 +590,10 @@ via_chip_map(struct pciide_softc *sc, const struct pci_attach_args *pa)
590590
aprint_normal("VT8233A ATA133 controller\n");
591591
sc->sc_wdcdev.sc_atac.atac_udma_cap = 6;
592592
break;
593+
case PCI_PRODUCT_VIATECH_VT8233C:
594+
aprint_normal("VT8233C ATA100 controller\n");
595+
sc->sc_wdcdev.sc_atac.atac_udma_cap = 5;
596+
break;
593597
case PCI_PRODUCT_VIATECH_VT8235:
594598
aprint_normal("VT8235 ATA133 controller\n");
595599
sc->sc_wdcdev.sc_atac.atac_udma_cap = 6;

0 commit comments

Comments
 (0)