Re: Remove extra brackets from MINIMUM definition ber.c

2017-05-30 Thread Fred
On 05/30/17 20:15, Ted Unangst wrote: Fred wrote: I was greping the tree for MINIMUM and this one stood out as it was (((a) rather than ((a). not sure why this one stood out. the 16 definitions of MAXIMUM in bin and sbin are all the same. i don't think we really need churn changing eithe

Re: Remove extra brackets from MINIMUM definition ber.c

2017-05-30 Thread Fred
the redundant brackets form the MINIMUM macro in ber.c Cheers Fred Index: ber.c === RCS file: /cvs/src/usr.sbin/ldapd/ber.c,v retrieving revision 1.12 diff -u -p -u -p -r1.12 ber.c --- ber.c 11 Feb 2017 20:40:03 -

Remove extra brackets from MINIMUM definition ber.c

2017-05-30 Thread Fred
This patch removes the redundant brackets form the MINIMUM macro in ber.c Cheers Fred Index: ber.c === RCS file: /cvs/src/usr.sbin/ldapd/ber.c,v retrieving revision 1.12 diff -u -p -u -p -r1.12 ber.c --- ber.c 11 Feb 2017 20

Re: remove IF_PREPEND in src/sys/dev/pci, was Re: IFQ_PREPEND

2015-11-08 Thread Fred
00:0d:b9:17:d8:90 priority: 0 groups: egress media: Ethernet autoselect (100baseTX full-duplex) status: active inet 192.168.5.7 netmask 0xff00 broadcast 192.168.5.255 And so far there has been no obvious regressions. Thanks Fred

Re: ed(1): keep custom prompt string that was specified by -p

2015-06-18 Thread Fred
.1-RELEASE-p10 #0: Tue May 12 19:33:13 UTC 2015 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 ::> P P ::> q $ FreeBSD ed follows the behaviour of Theo Buehler's patch. hth Fred

Re: telnet not sending return

2015-03-21 Thread Fred
appear twice on the terminal, this existed prior to Brabec's bug report and with the fix to [2], as shown: Cisco7960> telnet> send dont echo sshhooww Thanks Fred [2] http://marc.info/?l=openbsd-bugs&m=142168911530356&w=2 [2] Index: sys_bsd.c

telnet not sending return

2015-03-20 Thread Fred
brought this change about. I will see if I can work out a fix that solves both problems. Cheers Fred [1] Cisco CP7940G IP Phone [2] http://marc.info/?l=openbsd-bugs&m=142168911530356&w=2 [3] Index: sys_bsd.c === RCS file:

Re: keyboard and mouse problems

2015-03-15 Thread Fred
below. Thanks Fred Script started on Sun Mar 15 10:53:03 2015 port:fred ~> cu -l /dev/cuaU0 -s115200 Connected to /dev/cuaU0 (speed 115200) bsd.rd /-\|/-\booting hd0a:bsd.rd: |/-\|6494

Re: keyboard and mouse problems

2015-03-14 Thread Fred
nge, as I see a version of the above diff was commited on 12 Mar? I am currently bring my src tree up todate and will try and build a ramdisk kernel with the 1.45 changes to pckbc.c to see if that solves the issue. Thanks Fred [1] Script started on Sat Mar 14 20:40:54 2015 Connected to /

Re: pstat segfault

2014-12-19 Thread Fred
ut pstat -f works as expected as an ordinary user. Cheers Fred PS This with pstat.c patched to 1.96

Re: run(4) firmware update; please test

2014-05-15 Thread Fred
icense. Hi, Tested with the at TP-Link TL-WN727N USB Wifi device: May 15 13:24:46 x41 /bsd: run0 at uhub0 port 4 "Ralink 802.11 n WLAN" rev 2.00/1.01 addr 3 May 15 13:24:46 x41 /bsd: run0: MAC/BBP RT3070 (rev 0x0201), RF RT3020 (MIMO 1T1R), address 74:ea:3a:8a:b6:8f No regressions with this diff. Thanks Fred

Re: detach before suspend and attach after resume

2014-03-25 Thread Fred
On 03/25/14 23:07, Fred wrote: On 03/25/14 22:56, Fred wrote: On 03/25/14 20:42, Martin Pieuchot wrote: This diff should help to avoid some races occurring when resuming a machine with USB devices, please test! Since the Host Controllers are halted during suspend and reset on wakeup, all the

Re: detach before suspend and attach after resume

2014-03-25 Thread Fred
On 03/25/14 22:56, Fred wrote: On 03/25/14 20:42, Martin Pieuchot wrote: This diff should help to avoid some races occurring when resuming a machine with USB devices, please test! Since the Host Controllers are halted during suspend and reset on wakeup, all the connected USB devices are

Re: detach before suspend and attach after resume

2014-03-25 Thread Fred
+0xf acpi_dotask() at acpi_dotask+0x55 acpi_thread() at acpi_thread+0x11d end trace frame: 0x0, count: -16 I will try and find away of capturing the panic as it will take me a month of sundays to transcribe all the output from ps. Cheers Fred [1] OpenBSD 5.5-current (usbGEN.MP) #0: Tue Mar 25 2

Re: [PATCH] frame length validation for USB ethernet adapters

2011-03-20 Thread Fred Crowson
ge packets (NFS and SCP). As usual, feedback is most welcomed. Hi, Running the patch here for Linksys USB adapter: x41:fred ~> dmesg|grep url url0 at uhub2 port 2 "Linksys Linksys USB LAN Adapter" rev 1.10/1.00 addr 2 url0: address 00:10:60:e9:42:87 urlphy0 at url0 phy 0: RTL inter

Re: [patch] -H flag for grep.

2011-02-21 Thread Fred Crowson
Will print the file name after the line that grep matches. hth Fred

missing function definition uvm_pmemrange.c

2010-07-16 Thread Fred Crowson
Hi tech@ While trying to build a debug ramdisk kernel - I came across a build error in uvm_pmemrange.c where the function uvm_pmr_isfree was not defined, I've added it to #ifdef not sure if this is the correct process or whether it needs its own #ifdef. diff -ui follows. Thanks Fred

typos in #ifdef DEBUG

2010-07-13 Thread Fred Crowson
if (sz <= (1 << (b + DMA_BUCKET_OFFSET))) return (b); #ifdef DEBUG - printf("dma_alloc/free: object %d too large\n", sz) + printf("dma_alloc/free: object %d too large\n", sz); #endif return (-1); } Thanks Fred