Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/booke/dev SIOCS is 'S'et function and the i...
details: https://anonhg.NetBSD.org/src/rev/dab016afefb2
branches: trunk
changeset: 450739:dab016afefb2
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Wed Apr 24 11:12:12 2019 +0000
description:
SIOCS is 'S'et function and the ioctl argument is ifreq.
SIOCG is 'G'et function and the ioctl armument is ifmediareq.
Before this change, SIOCG modify request unexpectedly but it doesn't cause a
real bug because the modification is overriden in ifmedia_ioctl().
diffstat:
sys/arch/powerpc/booke/dev/pq3etsec.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 3218e2b3551e -r dab016afefb2 sys/arch/powerpc/booke/dev/pq3etsec.c
--- a/sys/arch/powerpc/booke/dev/pq3etsec.c Wed Apr 24 10:56:24 2019 +0000
+++ b/sys/arch/powerpc/booke/dev/pq3etsec.c Wed Apr 24 11:12:12 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pq3etsec.c,v 1.41 2019/03/08 08:12:39 msaitoh Exp $ */
+/* $NetBSD: pq3etsec.c,v 1.42 2019/04/24 11:12:12 msaitoh Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -41,7 +41,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pq3etsec.c,v 1.41 2019/03/08 08:12:39 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pq3etsec.c,v 1.42 2019/04/24 11:12:12 msaitoh Exp $");
#include <sys/param.h>
#include <sys/cpu.h>
@@ -1200,7 +1200,6 @@
switch (cmd) {
case SIOCSIFMEDIA:
- case SIOCGIFMEDIA:
/* Flow control requires full-duplex mode. */
if (IFM_SUBTYPE(ifr->ifr_media) == IFM_AUTO ||
(ifr->ifr_media & IFM_FDX) == 0)
Home |
Main Index |
Thread Index |
Old Index