Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Oct 2012 23:36:41 +0000 (UTC)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r242201 - head/sys/mips/cavium
Message-ID:  <201210272336.q9RNafh1082447@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jmallett
Date: Sat Oct 27 23:36:41 2012
New Revision: 242201
URL: http://svn.freebsd.org/changeset/base/242201

Log:
  Add missing return that broke 8-bit CF support in refactoring in r222671.
  Tested on a Cavium CN5860-EVB-NIC4.  This was broken for over a year.

Modified:
  head/sys/mips/cavium/octeon_ebt3000_cf.c

Modified: head/sys/mips/cavium/octeon_ebt3000_cf.c
==============================================================================
--- head/sys/mips/cavium/octeon_ebt3000_cf.c	Sat Oct 27 23:34:18 2012	(r242200)
+++ head/sys/mips/cavium/octeon_ebt3000_cf.c	Sat Oct 27 23:36:41 2012	(r242201)
@@ -280,6 +280,7 @@ static void cf_outb_8(int port, uint8_t 
 	if (bus_type == CF_8) {
 		volatile uint8_t *task_file = (volatile uint8_t *)base_addr;
 		task_file[port] = val;
+		return;
 	}
 
 	/*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210272336.q9RNafh1082447>