Module Name: src
Committed By: maya
Date: Sat Oct 27 05:38:08 UTC 2018
Modified Files:
src/sys/dev/ic: wdc.c
Log Message:
Fix previous misnamed initializer elements
committed wrong version of patch, sorry!
To generate a diff of this commit:
cvs rdiff -u -r1.290 -r1.291 src/sys/dev/ic/wdc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/ic/wdc.c
diff -u src/sys/dev/ic/wdc.c:1.290 src/sys/dev/ic/wdc.c:1.291
--- src/sys/dev/ic/wdc.c:1.290 Sat Oct 27 05:35:41 2018
+++ src/sys/dev/ic/wdc.c Sat Oct 27 05:38:08 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: wdc.c,v 1.290 2018/10/27 05:35:41 maya Exp $ */
+/* $NetBSD: wdc.c,v 1.291 2018/10/27 05:38:08 maya Exp $ */
/*
* Copyright (c) 1998, 2001, 2003 Manuel Bouyer. All rights reserved.
@@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wdc.c,v 1.290 2018/10/27 05:35:41 maya Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wdc.c,v 1.291 2018/10/27 05:38:08 maya Exp $");
#include "opt_ata.h"
#include "opt_wdc.h"
@@ -126,9 +126,9 @@ extern const struct ata_bustype wdc_ata_
#else
/* A fake one, the autoconfig will print "wd at foo ... not configured */
const struct ata_bustype wdc_ata_bustype = {
- .bus_type = SCSIPI_BUSTYPE_ATA,
+ .bustype_type = SCSIPI_BUSTYPE_ATA,
.ata_bio = NULL,
- .wdc_reset_drive = NULL,
+ .ata_reset_drive = NULL,
.ata_reset_channel = wdc_reset_channel,
.ata_exec_command = wdc_exec_command,
.ata_get_params = NULL,