svn commit: r242201 - head/sys/mips/cavium

Juli Mallett jmallett at FreeBSD.org
Sat Oct 27 23:36:41 UTC 2012


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;
 	}
 
 	/*


More information about the svn-src-head mailing list