CVS commit: src/sys/dev/i2c

2021-06-14 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Mon Jun 14 13:52:11 UTC 2021 Modified Files: src/sys/dev/i2c: adm1026.c Log Message: Call sysmon_envsys_destroy() if we receive any error from sysmon, rather than just on some errors. To generate a diff of this commit: cvs rdiff

CVS commit: src/share/man/man4/man4.sparc

2021-06-10 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Fri Jun 11 05:10:45 UTC 2021 Modified Files: src/share/man/man4/man4.sparc: tslot.4 Log Message: Add a bugs section about inserting two cards with different requirements. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/sys/dev/ic

2021-06-10 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Fri Jun 11 05:00:42 UTC 2021 Modified Files: src/sys/dev/ic: an.c Log Message: Add a missing htole16() around the length passed to bpf_mtap2(). Allows `tcpdump` to work on BE machines without panicing the kernel. To generate a

CVS commit: src/sys/arch/sparc/dev

2021-06-10 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Fri Jun 11 04:58:30 UTC 2021 Modified Files: src/sys/arch/sparc/dev: ts102.c Log Message: During slot enable and disable, make sure that the card Access and VCC controls are enabled and disabled at the same time. Also remove the

CVS commit: xsrc/external/mit/xf86-video-pnozz/dist/src

2021-06-09 Thread Julian Coleman
Module Name:xsrc Committed By: jdc Date: Wed Jun 9 07:25:57 UTC 2021 Modified Files: xsrc/external/mit/xf86-video-pnozz/dist/src: pnozz_exa.c pnozz_regs.h Log Message: Add some acceleration using the P9100 quad and blit commands: - for solid fill (quad) - for pixmap copy

CVS commit: src/distrib/sets/lists/xserver

2021-05-26 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Thu May 27 04:55:34 UTC 2021 Modified Files: src/distrib/sets/lists/xserver: md.sparc Log Message: Restore the pnozz Xorg driver, now that it has EXA support. To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75

CVS commit: src/external/mit/xorg/server/drivers

2021-05-26 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Thu May 27 04:54:21 UTC 2021 Modified Files: src/external/mit/xorg/server/drivers: Makefile Log Message: Restore the build of the pnozz driver on sparc, now that it has EXA support. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/external/mit/xorg/server/drivers/xf86-video-pnozz

2021-05-26 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Thu May 27 04:53:44 UTC 2021 Modified Files: src/external/mit/xorg/server/drivers/xf86-video-pnozz: Makefile Log Message: Update the pnozz files list for EXA support. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 \

CVS commit: xsrc/external/mit/xf86-video-pnozz/dist/src

2021-05-26 Thread Julian Coleman
pointer pReadmask +#define BLOCKHANDLER_ARGS arg, pTimeout, pReadmask + +#define CLOSE_SCREEN_ARGS_DECL ScreenPtr pScreen +#define CLOSE_SCREEN_ARGS pScreen + +#define ADJUST_FRAME_ARGS_DECL ScrnInfoPtr arg, int x, int y +#define ADJUST_FRAME_ARGS(arg, x, y) arg, x, y + +#define SWITCH_MODE_ARGS_DECL S

CVS commit: src/sys/dev/ic

2021-01-29 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sat Jan 30 07:53:01 UTC 2021 Modified Files: src/sys/dev/ic: gem.c gemvar.h Log Message: Improve handling of receive overflows. When we get an overflow, don't reset the chip if we are still receiving packets. Real overflows can

CVS commit: src/sys/dev/usb

2020-12-29 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Tue Dec 29 08:04:59 UTC 2020 Modified Files: src/sys/dev/usb: uaudio.c Log Message: During detach, re-use the functions that halt playback and record DMA. Prevents a panic during shutdown when media is playing. To generate a diff

CVS commit: src/doc

2020-12-22 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Wed Dec 23 07:26:36 UTC 2020 Modified Files: src/doc: CHANGES Log Message: Mention sparc64 E250 environmental monitoring. Belatedly mention pcf8574(4). To generate a diff of this commit: cvs rdiff -u -r1.2766 -r1.2767

CVS commit: src/sys/arch/sparc64/dev

2020-12-22 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Wed Dec 23 07:09:50 UTC 2020 Modified Files: src/sys/arch/sparc64/dev: pcf8591_envctrl.c Log Message: Rename the CPU fan to SYS fan to match what the firmware calls it. Check for fan failure and high temperature events when setting

CVS commit: src/sys/dev/i2c

2020-12-22 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Wed Dec 23 07:06:26 UTC 2020 Modified Files: src/sys/dev/i2c: pcf8574.c Log Message: Handle pins that represent alerts. split out common code for alert and indicator pins change the previously debug-only callout to work for

CVS commit: src/sys/arch/sparc64/sparc64

2020-12-22 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Wed Dec 23 07:01:14 UTC 2020 Modified Files: src/sys/arch/sparc64/sparc64: ofw_patch.c Log Message: Add GPIO pin alert definitions for the E250. Note, that the front panel also applies to the E450. To generate a diff of this

CVS commit: src/sys/arch/sparc64/dev

2020-12-20 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sun Dec 20 09:08:15 UTC 2020 Modified Files: src/sys/arch/sparc64/dev: pcf8591_envctrl.c Log Message: For the E250: set fans to medium speed when attaching and full speed when detaching. remove unused PS fan definition. In

CVS commit: src/sys/dev/i2c

2020-12-10 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Thu Dec 10 17:02:51 UTC 2020 Modified Files: src/sys/dev/i2c: adm1021.c Log Message: Handle failing to acquire the iic bus. Better handle errors when attaching sysmon sensors. To generate a diff of this commit: cvs rdiff -u -r1.20

CVS commit: src/sys/arch/sparc64/dev

2020-12-07 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Mon Dec 7 13:24:15 UTC 2020 Modified Files: src/sys/arch/sparc64/dev: pcf8591_envctrl.c Log Message: Add some debugging output to check sensor addition and refresh. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

CVS commit: src/sys/dev/i2c

2020-12-06 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sun Dec 6 10:09:36 UTC 2020 Modified Files: src/sys/dev/i2c: pcf8574.c Log Message: Don't read from the chip when matching, fail the attach instead (requested by jmcneill). Reverts previous. To generate a diff of this commit:

CVS commit: src/sys/arch/sparc64/dev

2020-12-06 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sun Dec 6 10:06:15 UTC 2020 Modified Files: src/sys/arch/sparc64/dev: pcf8591_envctrl.c Log Message: Don't read from the chip when matching, fail the attach instead (requested by jmcneill). Reverts previous. While here, handle

CVS commit: src/sys/arch/sparc64/dev

2020-12-05 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sat Dec 5 15:08:21 UTC 2020 Modified Files: src/sys/arch/sparc64/dev: pcf8591_envctrl.c Log Message: When matching, try a read in case this is an optional device and isn't actually present. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/i2c

2020-12-05 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sat Dec 5 15:02:29 UTC 2020 Modified Files: src/sys/dev/i2c: pcf8574.c Log Message: Return "match_result", not "1". Pointed out by jmcneill. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/i2c/pcf8574.c

CVS commit: src/sys/dev/i2c

2020-12-05 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sat Dec 5 14:50:33 UTC 2020 Modified Files: src/sys/dev/i2c: hytp14.c si70xx.c Log Message: Make sure that we set sc->sc_sme to NULL in failure cases in order to avoid calling sysmon_envsys_unregister() with an invalid struct when

CVS commit: src/sys/dev/i2c

2020-12-05 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sat Dec 5 14:48:09 UTC 2020 Modified Files: src/sys/dev/i2c: pcf8574.c Log Message: When matching, try a read in case this is an optional device and isn't actually present. Make sure that we set sc->sc_sme to NULL in failure cases

CVS commit: src/sys/dev/i2c

2020-10-31 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sat Oct 31 14:38:54 UTC 2020 Modified Files: src/sys/dev/i2c: pcagpio.c Log Message: Detach led's in our detach routine. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/i2c/pcagpio.c Please note that diffs

CVS commit: src/sys/dev/i2c

2020-10-31 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sat Oct 31 14:39:31 UTC 2020 Modified Files: src/sys/dev/i2c: pcf8574.c Log Message: Detach led's and sysmon in our detach routine. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/i2c/pcf8574.c Please note

CVS commit: src/sys/arch/sparc64/dev

2020-10-31 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sat Oct 31 13:17:34 UTC 2020 Modified Files: src/sys/arch/sparc64/dev: pcf8591_envctrl.c tda.c Log Message: Call sysmon_envsys_unregister() not sysmon_envsys_destroy() when detaching. Pointed out by Michael van Elst. To generate

CVS commit: src/sys/arch/sparc64/conf

2020-10-30 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Fri Oct 30 06:44:38 UTC 2020 Modified Files: src/sys/arch/sparc64/conf: GENERIC Log Message: Add pcagpio and pcf8574io - hardware status monitors on V210/V240 and E250. To generate a diff of this commit: cvs rdiff -u -r1.232

CVS commit: src/sys/dev/i2c

2020-10-29 Thread Julian Coleman
:51 2020 +++ src/sys/dev/i2c/pcf8574.c Thu Oct 29 06:55:51 2020 @@ -0,0 +1,328 @@ +/*- + * Copyright (c) 2020 The NetBSD Foundation, Inc. + * All rights reserved. + * + * This code is derived from software contributed to The NetBSD Foundation + * by Julian Coleman. + * + * Redistribution and use

CVS commit: src/sys/dev/i2c

2020-10-29 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Thu Oct 29 06:50:53 UTC 2020 Modified Files: src/sys/dev/i2c: pcagpio.c Log Message: Handle the change in the sparc64 OFW patching, where we now encode the GPIO pin type in the pin name (only LED types are currently handled). To

CVS commit: src/sys/arch/sparc64/sparc64

2020-10-29 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Thu Oct 29 06:47:39 UTC 2020 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c ofw_patch.c ofw_patch.h Log Message: Add information about GPIO pin assignments and drive bays in the E250 and v240. Consolidate common code for

CVS commit: src/sys/dev/i2c

2020-10-27 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Tue Oct 27 20:13:21 UTC 2020 Modified Files: src/sys/dev/i2c: pcagpio.c Log Message: Add additional debugging output. Track more chip state in the softc and check the chip state via a timer. This allows us to easily observe changes

CVS commit: src/sys/arch/sparc64/sparc64

2020-10-25 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sun Oct 25 07:46:54 UTC 2020 Modified Files: src/sys/arch/sparc64/sparc64: ofw_patch.c Log Message: Don't release the last reference to the "i2c-child-devices" dictionary in the v210/v240 patches. Fixes missing i2c devices there

CVS commit: src/sys/arch/sparc64/dev

2020-10-24 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sat Oct 24 15:16:39 UTC 2020 Modified Files: src/sys/arch/sparc64/dev: pcf8591_envctrl.c Log Message: Add support for automatically changing the CPU fan speed on the E250 in a similar way to the SB1000/SB2000. The fan control

CVS commit: src/sys/arch/sparc64/sparc64

2020-10-24 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sat Oct 24 13:47:53 UTC 2020 Modified Files: src/sys/arch/sparc64/sparc64: ofw_patch.c Log Message: Add E250 i2c devices missing from the OFW tree. Normalise the spelling of "temperature". To generate a diff of this commit: cvs

CVS commit: src/sys/arch/sparc64/sparc64

2020-10-23 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Fri Oct 23 17:53:07 UTC 2020 Modified Files: src/sys/arch/sparc64/sparc64: ofw_patch.c Log Message: Add missing prop_object_release() to the E250/E450 patches. Use the recently added (in r1.2) functions for SPARCle i2c devices too.

CVS commit: src/sys/arch/sparc64

2020-10-23 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Fri Oct 23 15:18:10 UTC 2020 Modified Files: src/sys/arch/sparc64/dev: pcfiic_ebus.c src/sys/arch/sparc64/sparc64: autoconf.c ofw_patch.c ofw_patch.h Log Message: Move E250 and E450 i2c patches from dev/pcfiic_ebus.c to

CVS commit: src/sys/arch/sparc64/sparc64

2020-10-17 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sat Oct 17 08:10:31 UTC 2020 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c ofw_patch.h Log Message: Avoid declaring autoconf_debug twice when building with DEBUG. Pointed out by palle@ - thanks! To generate a diff of

CVS commit: src/sys/arch/sparc64

2020-10-16 Thread Julian Coleman
p_data_create_copy(edid_meso999, - sizeof(edid_meso999)); - prop_dictionary_set(dict, "EDID:1", edid); - prop_object_release(edid); - } -} - /* * Called back during autoconfiguration for each device found */ Added files: Index: src/sys/arch/sparc64/sparc64/ofw_patc

CVS commit: src/sys/dev/pci

2020-10-11 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sun Oct 11 21:41:57 UTC 2020 Modified Files: src/sys/dev/pci: radeonfb.c Log Message: Handle EDID:N entries, where N is the port number, so that we can set up the display on port1 when port0 has no EDID information. Try harder not

CVS commit: src/sys/arch/sparc64

2020-10-11 Thread Julian Coleman
did.c,v 1.1 2020/10/11 19:39:22 jdc Exp $ */ + +/*- + * Copyright (c) 2020 The NetBSD Foundation, Inc. + * All rights reserved. + * + * This code is derived from software contributed to The NetBSD Foundation + * by Julian Coleman. + * + * Redistribution and use in source and binary forms, with or witho

CVS commit: src/sys/dev/pci

2020-10-10 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sat Oct 10 08:29:32 UTC 2020 Modified Files: src/sys/dev/pci: machfb.c Log Message: Don't change a videomode that's been setup in the firmware. Extend the register debugging output (and hopefully make it easier to read). To

CVS commit: src/sys/dev/pci

2020-08-07 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Fri Aug 7 18:26:33 UTC 2020 Modified Files: src/sys/dev/pci: machfb.c Log Message: Also set the bits for horizontal sync start delay. This makes machfb work correctly for some modes (e.g. 1152x720). Modify mach64_get_mode() to get

CVS commit: src/sys/dev/scsipi

2020-07-27 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Mon Jul 27 15:41:03 UTC 2020 Modified Files: src/sys/dev/scsipi: if_se.c Log Message: Improve the workqueue and callout handling. Prompted by riastradh@. To generate a diff of this commit: cvs rdiff -u -r1.110 -r1.111

CVS commit: src/sys/arch/sparc64/sparc64

2020-07-23 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Thu Jul 23 16:08:03 UTC 2020 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: Move machine-specific fixes into separate functions to improve readability. To generate a diff of this commit: cvs rdiff -u -r1.221

CVS commit: src/sys/dev/scsipi

2020-06-22 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Mon Jun 22 17:38:27 UTC 2020 Modified Files: src/sys/dev/scsipi: if_se.c Log Message: Add sedetach() and also use it to remove duplicate code from seattach(). Correct a comment about sedone(). To generate a diff of this commit:

CVS commit: src/sys/dev/scsipi

2020-06-22 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Mon Jun 22 16:05:20 UTC 2020 Modified Files: src/sys/dev/scsipi: if_se.c Log Message: Use workqueues so that we don't call into the scsipi subsystem via a softint from the network stack. Don't recurse through scsipi_command() when

CVS commit: src/sys/dev/scsipi

2020-06-19 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Fri Jun 19 10:30:27 UTC 2020 Modified Files: src/sys/dev/scsipi: if_se.c Log Message: First pass at making this work again. Remove spl and add some locking around network access (needs more work). Make sure that we consistently use

CVS commit: src/sys/arch/sparc/dev

2020-06-12 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sat Jun 13 05:31:29 UTC 2020 Modified Files: src/sys/arch/sparc/dev: tctrl.c Log Message: Initialise the mutex before we use it. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/sys/arch/sparc/dev/tctrl.c Please

CVS commit: [netbsd-9] src/doc

2020-06-11 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Thu Jun 11 11:04:12 UTC 2020 Modified Files: src/doc [netbsd-9]: CHANGES-9.1 Log Message: Tickets #957 & #958. To generate a diff of this commit: cvs rdiff -u -r1.1.2.64 -r1.1.2.65 src/doc/CHANGES-9.1 Please note that diffs are

CVS commit: [netbsd-9] src/sys/dev/usb

2020-06-11 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Thu Jun 11 11:03:22 UTC 2020 Modified Files: src/sys/dev/usb [netbsd-9]: if_run.c Log Message: Pull up following revision (requested by martin in ticket #958): src/sys/dev/usb/if_run.c: revision 1.41 Better bounds checking

CVS commit: [netbsd-9] src/sys/dev/usb

2020-06-11 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Thu Jun 11 11:01:20 UTC 2020 Modified Files: src/sys/dev/usb [netbsd-9]: if_otus.c Log Message: Pull up following revision (requested by martin in ticket #957): src/sys/dev/usb/if_otus.c: revision 1.45 (via patch) Stricter

CVS commit: src

2020-05-19 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Tue May 19 06:26:37 UTC 2020 Modified Files: src/distrib/sets/lists/man: mi src/share/man/man4/man4.sparc64: Makefile Log Message: Add tadpmu to Makefile and set list. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/share/man/man4/man4.sparc64

2020-05-18 Thread Julian Coleman
buted to The NetBSD Foundation +.\" by Julian Coleman +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain

CVS commit: src/sys/arch/sparc64/dev

2020-05-16 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sat May 16 07:16:14 UTC 2020 Modified Files: src/sys/arch/sparc64/dev: tadpmu.c tadpmureg.h tadpmuvar.h Log Message: Extend the monitoring to battery state, with capacity based on voltage. Add more PMU definitions. To generate a

CVS commit: src/sys/arch/sparc64/conf

2020-05-11 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Mon May 11 18:29:59 UTC 2020 Modified Files: src/sys/arch/sparc64/conf: GENERIC Log Message: Add "wb at ebus" and sdmmc, ld for the SD card reader on SPARCle. To generate a diff of this commit: cvs rdiff -u -r1.226 -r1.227

CVS commit: src/sys/arch/sparc64

2020-05-11 Thread Julian Coleman
* Copyright (c) 2020 The NetBSD Foundation, Inc. + * All rights reserved. + * + * This code is derived from software contributed to The NetBSD Foundation + * by Julian Coleman. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the

CVS commit: src/sys/dev/ic

2020-05-11 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Mon May 11 14:55:20 UTC 2020 Modified Files: src/sys/dev/ic: w83l518d.c w83l518d_sdmmc.c w83l518dvar.h Log Message: Make the driver endian-independent. Add a quirk so that the bus front end can specify 1-bit only mode. Remove unused

CVS commit: src/sys/dev/sdmmc

2020-05-11 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Mon May 11 09:51:47 UTC 2020 Modified Files: src/sys/dev/sdmmc: sdmmc_mem.c Log Message: If the controller doesn't support switch func (opcode 6) then skip setting this but continue with other settings. This allows us to use a

CVS commit: src/sys/dev/sun

2020-05-03 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sun May 3 06:31:02 UTC 2020 Modified Files: src/sys/dev/sun: disksubr.c Log Message: If the sector size is 0, return early in readdisklabel(). Prevents a panic trying to use a 0-sized buffer, which can happen if we run (e.g.)

CVS commit: src/sys/dev/scsipi

2020-05-02 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sat May 2 06:45:53 UTC 2020 Modified Files: src/sys/dev/scsipi: scsiconf.c Log Message: Don't attempt to read opcodes and their timeouts at attach time for old devices. The MAINTENANCE IN command was introduced with SCSI-3 and

CVS commit: src/sys/dev/i2c

2019-12-11 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Wed Dec 11 21:00:11 UTC 2019 Modified Files: src/sys/dev/i2c: adm1026.c adm1026reg.h Log Message: Chip matching improvements: only match for currently known addresses don't generate messages when matching Tested on Sun Blade

CVS commit: src/sys/arch/sandpoint/sandpoint

2019-04-07 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sun Apr 7 15:44:44 UTC 2019 Modified Files: src/sys/arch/sandpoint/sandpoint: com_eumb.c Log Message: Call com_init_regs() in eumbcnattach() to set up com port register mapping. Fixes broken console output after changes to remove

CVS commit: src/share/man/man4/man4.sparc64

2018-03-26 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Mon Mar 26 10:54:31 UTC 2018 Modified Files: src/share/man/man4/man4.sparc64: ffb.4 Log Message: Note that EDID is only read on series 2 and 3 cards. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/arch/sparc64/dev

2018-03-26 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Mon Mar 26 10:31:10 UTC 2018 Modified Files: src/sys/arch/sparc64/dev: ffb.c Log Message: Correct a typo in the openprom variable name. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/sys/arch/sparc64/dev/ffb.c

CVS commit: src/sys/dev/ic

2016-05-17 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Tue May 17 14:44:53 UTC 2016 Modified Files: src/sys/dev/ic: gem.c Log Message: PR kern/46083 Track the start of each packet, so that we set the "Start of Frame" bit in all the relevant transmit descriptors when enqueing multiple

CVS commit: src/sys/dev/ic

2016-01-11 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Mon Jan 11 18:24:56 UTC 2016 Modified Files: src/sys/dev/ic: pcf8584.c Log Message: Always take the bus lock (avoids collisions when drivers set I2C_F_POLL). To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15

CVS commit: src/sys/dev/i2c

2016-01-11 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Mon Jan 11 18:23:53 UTC 2016 Modified Files: src/sys/dev/i2c: adm1026.c Log Message: Increase the number of read retries (to 5). To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/i2c/adm1026.c Please note

CVS commit: src/sys/dev/i2c

2016-01-11 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Mon Jan 11 18:23:11 UTC 2016 Modified Files: src/sys/dev/i2c: lm75.c Log Message: Don't use I2C_F_POLL when getting/setting limits. Save/restore the correct values for LM77. To generate a diff of this commit: cvs rdiff -u -r1.28

CVS commit: src/lib/libcurses

2016-01-10 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sun Jan 10 08:11:07 UTC 2016 Modified Files: src/lib/libcurses: refresh.c Log Message: Clear the "forced" flag after updating a line, otherwise we'll always do complete line redraws. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/i2c

2016-01-10 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sun Jan 10 14:03:11 UTC 2016 Modified Files: src/sys/dev/i2c: lm87.c Log Message: Correct previous - external temperature 2 is read from the 2.5V register, not the Vccp2 register. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/i2c

2016-01-10 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sun Jan 10 10:20:08 UTC 2016 Modified Files: src/sys/dev/i2c: lm87.c Log Message: Add missing register definitions. Handle LM87 external temperature 2 input, and Vcc input scaling (5V or 3.3V). To generate a diff of this commit:

CVS commit: src/lib/libcurses

2016-01-09 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sat Jan 9 19:05:13 UTC 2016 Modified Files: src/lib/libcurses: setterm.c Log Message: Remove extra new line in debugging output. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/lib/libcurses/setterm.c Please

CVS commit: src/lib/libcurses

2016-01-06 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Thu Jan 7 07:36:35 UTC 2016 Modified Files: src/lib/libcurses: add_wch.c Log Message: Add missing new line in debug print. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/lib/libcurses/add_wch.c Please note that

CVS commit: src/lib/libcurses

2016-01-06 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Thu Jan 7 07:37:09 UTC 2016 Modified Files: src/lib/libcurses: touchwin.c Log Message: Display force flag in debug print. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/lib/libcurses/touchwin.c Please note

CVS commit: src/sys/dev/ic

2016-01-04 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Mon Jan 4 10:00:33 UTC 2016 Modified Files: src/sys/dev/ic: pcf8584.c Log Message: Redo r1.12 - process cmd and value buffers in pcfiic_xmit(). Avoids allocating a temporary buffer for writes using both buffers. To generate a

CVS commit: src/share/man/man4

2016-01-03 Thread Julian Coleman
@ The driver was written by .An Theo de Raadt Aq Mt dera...@openbsd.org . Extended precision temperatures, and limit display and setting were added by -.An Julian Coleman Aq Mt jcole...@netbsd.org . +.An Julian Coleman Aq Mt j...@netbsd.org . .Sh BUGS Limit sensors occasionally read as 0xff. If this occurs, the

CVS commit: src/share/man/man4

2016-01-03 Thread Julian Coleman
driver was written by .An Theo de Raadt Aq Mt dera...@openbsd.org . +Extended precision temperatures, and limit display and setting were added by +.An Julian Coleman Aq Mt jcole...@netbsd.org . +.Sh BUGS +Limit sensors occasionally read as 0xff. +If this occurs, the +.Nm +driver will ignore that limit.

CVS commit: src/sys/dev/i2c

2016-01-03 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sun Jan 3 17:27:26 UTC 2016 Modified Files: src/sys/dev/i2c: adm1021.c Log Message: Add display and setting of chip temperature limits for envsys(4). Different chips are recognised where possible, and the appropriate limits are

CVS commit: src/sys/dev/i2c

2016-01-03 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sun Jan 3 17:28:33 UTC 2016 Modified Files: src/sys/dev/i2c: lm75reg.h Log Message: Add LM75A ID register (for completeness). To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/lm75reg.h Please note that

CVS commit: src/share/man/man4

2016-01-03 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sun Jan 3 17:28:46 UTC 2016 Modified Files: src/share/man/man4: lmtemp.4 Log Message: Mention supported chips and their differences. Mention display and setting of chip temperature limits. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/i2c

2016-01-03 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sun Jan 3 17:27:57 UTC 2016 Modified Files: src/sys/dev/i2c: lm75.c Log Message: Add display and setting of chip temperature limit(s) for envsys(4). To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28

CVS commit: src/sys

2016-01-03 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sun Jan 3 17:32:17 UTC 2016 Modified Files: src/sys/arch/sparc64/dev: pcfiic_ebus.c src/sys/dev/ic: pcf8584.c pcf8584reg.h pcf8584var.h Log Message: Remove duplicate register definitions and merge them all into

CVS commit: src/sys/dev/i2c

2016-01-01 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Fri Jan 1 20:13:50 UTC 2016 Modified Files: src/sys/dev/i2c: lm75.c Log Message: Read the Tos limit from the chip, instead of assuming 80'C, in case firmware has altered it. Make the *decode functions return temperatures in either

CVS commit: src/sys/arch/sparc64/sparc64

2015-12-30 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Wed Dec 30 09:16:17 UTC 2015 Modified Files: src/sys/arch/sparc64/sparc64: ofw_machdep.c Log Message: Restrict the check for fully specified interrupts to machines with psycho controllers only, and adjust comments to note this. See

CVS commit: src/sys/dev

2015-12-19 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sat Dec 19 19:59:53 UTC 2015 Modified Files: src/sys/dev: DEVNAMES Log Message: Remove references to drivers (adt7463c, adt7467c, adm1030c) that were superceded by dbcool. To generate a diff of this commit: cvs rdiff -u -r1.294

CVS commit: src/sys/dev

2015-12-19 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sat Dec 19 20:01:35 UTC 2015 Modified Files: src/sys/dev: DEVNAMES Log Message: Add adm1026hm (MI). To generate a diff of this commit: cvs rdiff -u -r1.295 -r1.296 src/sys/dev/DEVNAMES Please note that diffs are not public

CVS commit: src/share/man/man4

2015-12-16 Thread Julian Coleman
All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Julian Coleman. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.

CVS commit: src/sys/dev/ic

2015-12-16 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Wed Dec 16 08:04:58 UTC 2015 Modified Files: src/sys/dev/ic: pcf8584.c Log Message: Allow pcfiic to handle i2c writes using cmdbuf for the register, and buf for the value to be written. Prior to this, we would send an empty write

CVS commit: src/sys/arch/sparc64/conf

2015-12-16 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Wed Dec 16 08:00:00 UTC 2015 Modified Files: src/sys/arch/sparc64/conf: GENERIC Log Message: Add adm1026hm* for V210, V240, and V440 environmental monitoring. To generate a diff of this commit: cvs rdiff -u -r1.182 -r1.183

CVS commit: src/sys/dev/i2c

2015-12-16 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Wed Dec 16 08:05:38 UTC 2015 Modified Files: src/sys/dev/i2c: dbcool.c Log Message: Add direct configuration support via compatible names. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sys/dev/i2c/dbcool.c

CVS commit: src/doc

2015-12-16 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Wed Dec 16 08:08:22 UTC 2015 Modified Files: src/doc: CHANGES Log Message: Mention new ADM1026 i2c driver. To generate a diff of this commit: cvs rdiff -u -r1.2117 -r1.2118 src/doc/CHANGES Please note that diffs are not public

CVS commit: src/sys/arch/sparc64/sparc64

2015-12-16 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Wed Dec 16 08:01:19 UTC 2015 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: Add V210/V240 environmental sensors that are not in the OFW tree. Add device properties for adm1026hm on V210, V240, and V440. To

CVS commit: src/share/man/man4

2015-12-16 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Wed Dec 16 08:20:03 UTC 2015 Modified Files: src/share/man/man4: Makefile Log Message: Add manual page for ADM1026. To generate a diff of this commit: cvs rdiff -u -r1.624 -r1.625 src/share/man/man4/Makefile Please note that

CVS commit: src

2015-12-15 Thread Julian Coleman
-0,0 +1,83 @@ +.\" $NetBSD: adm1026tm.4,v 1.1 2015/12/16 07:59:01 jdc Exp $ +.\" +.\" Copyright (c) 2015 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Julian Colema

CVS commit: src/sys/dev/i2c

2015-12-15 Thread Julian Coleman
Dec 16 07:56:48 2015 @@ -0,0 +1,553 @@ +/*- + * Copyright (c) 2015 The NetBSD Foundation, Inc. + * All rights reserved. + * + * This code is derived from software contributed to The NetBSD Foundation + * by Julian Coleman. + * + * Redistribution and use in source and binary forms, with or without

CVS commit: src/sys/dev/sysmon

2015-12-13 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sun Dec 13 17:41:48 UTC 2015 Modified Files: src/sys/dev/sysmon: sysmon_envsys.c Log Message: Note the sensor number in the error output. Useful for drivers adding multiple sensors. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/sparc64/dev

2015-11-23 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Mon Nov 23 21:40:14 UTC 2015 Modified Files: src/sys/arch/sparc64/dev: schizo.c schizoreg.h schizovar.h Log Message: Set the target JPID for all interrupts on Tomatillo. If the "ino-bitmap" property is available, use it to route

CVS commit: src/sys/arch/sparc/stand/bootblk

2015-08-16 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sun Aug 16 10:58:54 UTC 2015 Modified Files: src/sys/arch/sparc/stand/bootblk: bootblk.fth genlfs.cf Log Message: Make these compile again after changes to LFS. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

CVS commit: src/sys/dev/usb

2014-08-04 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Mon Aug 4 19:59:37 UTC 2014 Modified Files: src/sys/dev/usb: usbdevs Log Message: ATMEL WN210 is actually ID 0x4102 (spotted by mlelstv). To generate a diff of this commit: cvs rdiff -u -r1.679 -r1.680 src/sys/dev/usb/usbdevs

  1   2   3   4   5   >