CVS commit: src/sys/arch/mips/cavium/dev

2021-05-26 Thread Simon Burge
Module Name:src Committed By: simonb Date: Thu May 27 03:23:29 UTC 2021 Modified Files: src/sys/arch/mips/cavium/dev: if_cnmac.c Log Message: Move the send queue checking to a new function, and also call this in the rx interrupt path. Measureable improvement on a NFS

CVS commit: src/sys/arch/mips/cavium/dev

2021-05-26 Thread Simon Burge
Module Name:src Committed By: simonb Date: Thu May 27 01:43:32 UTC 2021 Modified Files: src/sys/arch/mips/cavium/dev: if_cnmac.c Log Message: Schedule the send cleanup function for next tick in cnmac_start(). In the send cleanup function, schedule for the next tick

CVS commit: src/sys/arch/mips/cavium/dev

2021-05-14 Thread Simon Burge
Module Name:src Committed By: simonb Date: Fri May 14 13:36:28 UTC 2021 Modified Files: src/sys/arch/mips/cavium/dev: octeon_gmx.c Log Message: Fix a missed bitmask to __SHIFTOUT conversion in rev 1.12. Fixes negotiation problems on non-gige switches. Problem discovered

CVS commit: src/sys/arch/mips/cavium/dev

2021-05-05 Thread Simon Burge
Module Name:src Committed By: simonb Date: Wed May 5 06:47:29 UTC 2021 Modified Files: src/sys/arch/mips/cavium/dev: octeon_cib.c octeon_gmx.c octeon_intc.c Log Message: Sprinkle some static. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/sys/arch/mips/cavium/dev

2021-03-24 Thread Simon Burge
Module Name:src Committed By: simonb Date: Wed Mar 24 08:10:14 UTC 2021 Modified Files: src/sys/arch/mips/cavium/dev: octeon_fpa.c Log Message: Remove somewhat dubious empty octfpa_desc structure. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src/sys/arch/mips/cavium/dev

2021-01-04 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Jan 4 17:22:59 UTC 2021 Modified Files: src/sys/arch/mips/cavium/dev: octeon_asx.c octeon_fpa.c octeon_gmx.c octeon_ipd.c octeon_pip.c octeon_pko.c Log Message: malloc(9) -> kmem(9) To generate a diff of this

CVS commit: src/sys/arch/mips/cavium/dev

2020-10-15 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu Oct 15 09:32:40 UTC 2020 Modified Files: src/sys/arch/mips/cavium/dev: octeon_xhci.c Log Message: Initialise xhci_softc sc_ios To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/arch/mips/cavium/dev

2020-08-03 Thread Simon Burge
Module Name:src Committed By: simonb Date: Tue Aug 4 01:59:46 UTC 2020 Modified Files: src/sys/arch/mips/cavium/dev: octeon_corereg.h Log Message: Add some CvmCtl bits from newer cnMIPS cores. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/sys/arch/mips/cavium/dev

2020-07-20 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Jul 20 17:56:13 UTC 2020 Modified Files: src/sys/arch/mips/cavium/dev: octeon_ciureg.h Log Message: Fix coreX/IP4 summary register offsets To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/sys/arch/mips/cavium/dev

2020-07-17 Thread Simon Burge
Module Name:src Committed By: simonb Date: Fri Jul 17 08:06:02 UTC 2020 Modified Files: src/sys/arch/mips/cavium/dev: octeon_xhci.c octeon_xhcireg.h Log Message: Don't use a reserved value for the USB endian CSR selects and enable octxhci_uctl_init(). Between these, USB

CVS commit: src/sys/arch/mips/cavium/dev

2020-06-26 Thread Simon Burge
Module Name:src Committed By: simonb Date: Sat Jun 27 02:49:42 UTC 2020 Added Files: src/sys/arch/mips/cavium/dev: octeon_uartvar.h Log Message: Add new file containing a couple of UART prototypes. Missing file pointed out by rin@. Thanks! To generate a diff of this

CVS commit: src/sys/arch/mips/cavium/dev

2020-06-22 Thread Simon Burge
Module Name:src Committed By: simonb Date: Tue Jun 23 05:18:43 UTC 2020 Modified Files: src/sys/arch/mips/cavium/dev: octeon_uart.c Log Message: Add support for a very simple output-only console so early printf() can work. Minor tweaks, remove some unused code. To

CVS commit: src/sys/arch/mips/cavium/dev

2020-06-22 Thread Simon Burge
Module Name:src Committed By: simonb Date: Tue Jun 23 05:18:28 UTC 2020 Modified Files: src/sys/arch/mips/cavium/dev: octeon_dwctwo.c Log Message: Make sure we only attach to CN3xxx/CN5xxx. Cleanup - mostly removing unused code. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/mips/cavium/dev

2020-06-22 Thread Simon Burge
Module Name:src Committed By: simonb Date: Tue Jun 23 05:17:13 UTC 2020 Modified Files: src/sys/arch/mips/cavium/dev: if_cnmac.c if_cnmacvar.h octeon_gmx.c octeon_gmxreg.h octeon_gmxvar.h Log Message: Redo cnmac attachments - cnmacM @ gmxN @ pip0 @ iobus

CVS commit: src/sys/arch/mips/cavium/dev

2020-06-22 Thread Simon Burge
Module Name:src Committed By: simonb Date: Tue Jun 23 03:09:35 UTC 2020 Removed Files: src/sys/arch/mips/cavium/dev: octeon_usbcvar.h octeon_usbnvar.h Log Message: Remove unused include files. To generate a diff of this commit: cvs rdiff -u -r1.6 -r0

CVS commit: src/sys/arch/mips/cavium/dev

2020-06-22 Thread Simon Burge
Module Name:src Committed By: simonb Date: Tue Jun 23 03:08:11 UTC 2020 Modified Files: src/sys/arch/mips/cavium/dev: octeon_usbcreg.h Log Message: Remove USB controller register definitions, these match dwc2 core and weren't used anyway. To generate a diff of this

CVS commit: src/sys/arch/mips/cavium/dev

2020-06-22 Thread Simon Burge
Module Name:src Committed By: simonb Date: Tue Jun 23 03:07:48 UTC 2020 Modified Files: src/sys/arch/mips/cavium/dev: octeon_dwctwo.c Log Message: Remove unused octeon*usb*var*h includes. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12

CVS commit: src/sys/arch/mips/cavium/dev

2020-06-22 Thread Simon Burge
Module Name:src Committed By: simonb Date: Mon Jun 22 12:26:11 UTC 2020 Modified Files: src/sys/arch/mips/cavium/dev: octeon_bootbusreg.h octeon_ciureg.h octeon_fpareg.h octeon_gmxreg.h octeon_pipreg.h octeon_powreg.h octeon_usbcreg.h Log Message:

CVS commit: src/sys/arch/mips/cavium/dev

2020-06-21 Thread Simon Burge
Module Name:src Committed By: simonb Date: Mon Jun 22 03:05:07 UTC 2020 Modified Files: src/sys/arch/mips/cavium/dev: octeon_asxreg.h octeon_bootbusreg.h octeon_ciureg.h octeon_corereg.h octeon_fpareg.h octeon_gmxreg.h octeon_gpioreg.h

CVS commit: src/sys/arch/mips/cavium/dev

2020-06-07 Thread Simon Burge
Module Name:src Committed By: simonb Date: Mon Jun 8 01:17:05 UTC 2020 Modified Files: src/sys/arch/mips/cavium/dev: octeon_rnm.c Log Message: Fix tyop in a comment. Thanks riastradh@. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/sys/arch/mips/cavium/dev

2020-06-02 Thread Simon Burge
Module Name:src Committed By: simonb Date: Tue Jun 2 14:39:57 UTC 2020 Modified Files: src/sys/arch/mips/cavium/dev: octeon_ciureg.h Log Message: Add a missing entry, clean up a few other incorrect entries. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/sys/arch/mips/cavium/dev

2020-05-31 Thread Simon Burge
Module Name:src Committed By: simonb Date: Sun May 31 06:23:49 UTC 2020 Removed Files: src/sys/arch/mips/cavium/dev: octeon_tim.c octeon_timreg.h Log Message: Remove unused Timer Unit register definitions and stubs. Can be resurrected from the attic in the unlikely event

CVS commit: src/sys/arch/mips/cavium/dev

2020-05-29 Thread Simon Burge
Module Name:src Committed By: simonb Date: Sat May 30 03:12:52 UTC 2020 Modified Files: src/sys/arch/mips/cavium/dev: octeon_rnm.c Log Message: CN70XX iobdma limit appears to be 128 words, so gather that many samples as a time. Gather the full 512 bytes of samples and

CVS commit: src/sys/arch/mips/cavium/dev

2020-05-18 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 18 16:05:09 UTC 2020 Modified Files: src/sys/arch/mips/cavium/dev: octeon_rnm.c Log Message: Adjust entropy estimate for the Octeon. We are hedging in serial and in parallel, and more conservative than the Linux

CVS commit: src/sys/arch/mips/cavium/dev

2020-05-12 Thread Simon Burge
Module Name:src Committed By: simonb Date: Tue May 12 14:04:50 UTC 2020 Modified Files: src/sys/arch/mips/cavium/dev: octeon_rnm.c Log Message: Oceton RNG/RNM driver modernisation to fit new entropy world order by riastradh@, with some tweaks to get working in RNG mode.

CVS commit: src/sys/arch/mips/cavium/dev

2020-05-12 Thread Simon Burge
Module Name:src Committed By: simonb Date: Tue May 12 10:37:10 UTC 2020 Modified Files: src/sys/arch/mips/cavium/dev: octeon_rnm.c Log Message: If bus_space_map fails, just don't attach the driver instead of panicing. Check RNG built in self test, don't attach if that

CVS commit: src/sys/arch/mips/cavium/dev

2020-05-12 Thread Simon Burge
Module Name:src Committed By: simonb Date: Tue May 12 10:12:08 UTC 2020 Modified Files: src/sys/arch/mips/cavium/dev: octeon_rnmreg.h Log Message: Add a few more bits. XXX convert to __BITS. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/arch/mips/cavium/dev

2020-04-24 Thread matthew green
Module Name:src Committed By: mrg Date: Fri Apr 24 09:29:26 UTC 2020 Modified Files: src/sys/arch/mips/cavium/dev: if_cnmac.c octeon_gmx.c octeon_gmxvar.h Log Message: fetch properties in attach rather than every re-init. this avoids a rwlock while spinlock held problem

CVS commit: src/sys/arch/mips/cavium/dev

2020-02-18 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue Feb 18 15:00:42 UTC 2020 Modified Files: src/sys/arch/mips/cavium/dev: if_cnmac.c Log Message: - Use ether_mediachange(). - Don't call the media change function directly from the init function; bounce through

CVS commit: src/sys/arch/mips/cavium/dev

2020-01-25 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Jan 25 19:20:24 UTC 2020 Modified Files: src/sys/arch/mips/cavium/dev: octeon_gmx.c Log Message: Remove the IFETHER_DOT3STATS stuff in this driver. ifi_dot3stats does not exist in NetBSD's "struct if_data", and what this

CVS commit: src/sys/arch/mips/cavium/dev

2019-12-27 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Sat Dec 28 02:58:59 UTC 2019 Modified Files: src/sys/arch/mips/cavium/dev: if_cnmac.c Log Message: Fix typos in comments. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/arch/mips/cavium/dev/if_cnmac.c

CVS commit: src/sys/arch/mips/cavium/dev

2019-01-26 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sun Jan 27 05:04:39 UTC 2019 Modified Files: src/sys/arch/mips/cavium/dev: octeon_fpa.c Log Message: Restore accidentally-dropped opt_octeon.h. (or at least it really looks like it was accidental) To generate a diff of this

CVS commit: src/sys/arch/mips/cavium/dev

2019-01-09 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Jan 10 05:41:10 UTC 2019 Modified Files: src/sys/arch/mips/cavium/dev: octeon_smivar.h Log Message: KNF. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/arch/mips/cavium/dev

2018-11-18 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Nov 18 11:45:46 UTC 2018 Modified Files: src/sys/arch/mips/cavium/dev: octeon_usbcvar.h Log Message: Whitespace To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/mips/cavium/dev/octeon_usbcvar.h

CVS commit: src/sys/arch/mips/cavium/dev

2018-10-04 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Oct 4 15:21:23 UTC 2018 Modified Files: src/sys/arch/mips/cavium/dev: octeon_fpa.c Log Message: Remove duplicate #include To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/mips/cavium/dev/octeon_fpa.c

CVS commit: src/sys/arch/mips/cavium/dev

2018-02-06 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 6 09:33:45 UTC 2018 Modified Files: src/sys/arch/mips/cavium/dev: octeon_pip.c Log Message: update for GCC 6: hide octeon_pip_dump_regs_[] under OCTEON_ETH_DEBUG, the only user. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/mips/cavium/dev

2018-01-01 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Jan 1 13:25:22 UTC 2018 Modified Files: src/sys/arch/mips/cavium/dev: if_cnmac.c Log Message: Set and clear IFF_OACTIVE as necessary, and add support for queueing multiple packets before performing a PKO doorbell write.

CVS commit: src/sys/arch/mips/cavium/dev

2017-11-26 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Nov 26 18:41:14 UTC 2017 Modified Files: src/sys/arch/mips/cavium/dev: if_cnmac.c Log Message: Set ETHERCAP_VLAN_MTU capability flag. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/sys/arch/mips/cavium/dev

2017-08-22 Thread Maya Rashish
Module Name:src Committed By: maya Date: Tue Aug 22 07:09:00 UTC 2017 Modified Files: src/sys/arch/mips/cavium/dev: if_cnmac.c Log Message: Reword warning message To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/mips/cavium/dev/if_cnmac.c Please

CVS commit: src/sys/arch/mips/cavium/dev

2017-08-20 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Aug 20 11:05:24 UTC 2017 Modified Files: src/sys/arch/mips/cavium/dev: octeon_gmx.c Log Message: as the xxx implicitly points out, there's a division by zero here, so panic right away; found by mootja To generate a diff of

CVS commit: src/sys/arch/mips/cavium/dev

2016-08-20 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Aug 20 06:34:22 UTC 2016 Modified Files: src/sys/arch/mips/cavium/dev: octeon_ciureg.h Log Message: Fix a couple of (unsed) definitions To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/sys/arch/mips/cavium/dev

2016-07-11 Thread Matt Thomas
Module Name:src Committed By: matt Date: Tue Jul 12 03:34:25 UTC 2016 Modified Files: src/sys/arch/mips/cavium/dev: octeon_dwctwo.c Log Message: Use mips_lwu To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/mips/cavium/dev/octeon_dwctwo.c Please

CVS commit: src/sys/arch/mips/cavium/dev

2016-04-26 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Apr 26 09:24:57 UTC 2016 Modified Files: src/sys/arch/mips/cavium/dev: octeon_dwctwo.c Log Message: Adapt to nick-nhusb merge To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/sys/arch/mips/cavium/dev

2016-04-26 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Apr 26 09:23:33 UTC 2016 Modified Files: src/sys/arch/mips/cavium/dev: octeon_usbcvar.h Log Message: g/c usb_dma_reserve To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/arch/mips/cavium/dev

2016-04-26 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Apr 26 09:22:36 UTC 2016 Modified Files: src/sys/arch/mips/cavium/dev: octeon_usbcvar.h Log Message: s/usbd_xfer_handle/struct usbd_xfer */ To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/arch/mips/cavium/dev

2015-06-06 Thread Matt Thomas
Module Name:src Committed By: matt Date: Sat Jun 6 20:15:35 UTC 2015 Modified Files: src/sys/arch/mips/cavium/dev: octeon_ciureg.h Log Message: Add CIU_BASE To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/mips/cavium/dev/octeon_ciureg.h Please

CVS commit: src/sys/arch/mips/cavium/dev

2015-06-05 Thread Matt Thomas
Module Name:src Committed By: matt Date: Sat Jun 6 04:33:45 UTC 2015 Modified Files: src/sys/arch/mips/cavium/dev: octeon_ciureg.h Log Message: Fix CUI_MBOX_{SET,CLR}1 values To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/arch/mips/cavium/dev

2015-06-01 Thread Matt Thomas
Module Name:src Committed By: matt Date: Tue Jun 2 05:11:34 UTC 2015 Modified Files: src/sys/arch/mips/cavium/dev: octeon_uart.c Log Message: Use structure copy instead of memcpy. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3