Hello, t...@!
I've tweaked i386 Makefile to fail if genassym.sh fails.
It's usually hard to notice when it comes before the bunch of
make output of mkdep commandline.
Index: conf/Makefile.i386
===
RCS file:
Hello t...@!
I guess there's no need to acquire pmap locks when there's nothing
to do (USER_LDT unset). s/if defined/ifdef/ for consistency.
Index: pmap.c
===
RCS file: /cvs/src/sys/arch/i386/i386/pmap.c,v
retrieving revision 1.151
Hi!
I guess the following is the leftover.
Index: include/segments.h
===
RCS file: /cvs/src/sys/arch/i386/include/segments.h,v
retrieving revision 1.17
diff -u -p -r1.17 segments.h
--- include/segments.h 1 Jul 2010 17:30:27 -
Hello, t...@!
Since a lot of HP usb printers work badly (or do not work at all)
with ulpt and they want all cups and hplip goo, I've added a
new UQ_SHOULD_UGEN quirk to let ulpt(4) know when to skip the device.
As a bonus, a usbdevs 0X-0x consistency conversion.
Index: ulpt.c
On 09:01 Sat 18 Dec, Jacob Meuser wrote:
On Sat, Dec 18, 2010 at 08:48:10AM +, Jacob Meuser wrote:
On Sat, Dec 18, 2010 at 10:14:54AM +0200, Vladimir Kirillov wrote:
Hello, t...@!
Since a lot of HP usb printers work badly (or do not work at all)
with ulpt and they want all cups
On 11:34 Sat 18 Dec, Vladimir Kirillov wrote:
By the way, if we'll be checking for quirks and such an early stage,
we could add the quirks field to usb_attach_arg to avoid calling
usbd_get_quirks() in future, right?
Ignore that, i thought it was a table lookup, but it's a
field in struct
Hello, t...@!
The pci/usb (and others) known_{products,vendors} generated from
{pci,usb}devs are really big and scanning them is not so efficient.
I took the reyk@'s bsearch() implementation found in ieee80211 code
and moved it to libkern.
To sort tables I've rewritten the devlist2h from awk to
On 02:39 Thu 16 Dec, Vladimir Kirillov wrote:
+foreach my $v (sort { hex($a-{id}) = hex($b-{id}) } @vendors) {
Please also note that this won't fail on usbdevs if you replace 0X
hex prefixes with 0x.
Hello, t...@!
Removed curpriority, since it didn't grep anywhere.
By the way, why is this file called systm.h? Historical reasons?
Index: systm.h
===
RCS file: /cvs/src/sys/sys/systm.h,v
retrieving revision 1.86
diff -u -p -r1.86
Hello, t...@!
Due to ACPI spec, _BST method returns the rate value
in milliwats or milliamperes according to the unit reported by _BIF.
Tweak acpibat so sysctl sees the data like this:
hw.sensors.acpibat0.power0=14.95 W (rate)
Index: acpibat.c
Hello, t...@!
Currently, the c++ tr1 implementation in OpenBSD tree implicitly uses
typeid() in shared_ptr, thus using -fno-rtti is not possible here.
It turns out that gcc guys came onto the issue only a year ago:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42019
The diff:
Index:
Hi, t...@!
I've been trying to test rthreads and have hit some weird races
using simple tests:
% cat rth.c
#include pthread.h
#include stdlib.h
#include unistd.h
#include err.h
pthread_t worker;
pthread_mutex_t mtx = PTHREAD_MUTEX_INITIALIZER;
void *
worker_run(void *arg)
{
Hi, Ingo!
On 02:06 Fri 15 Oct, Ingo Schwarze wrote:
so here's a diff to actually do pass a singly-malloced buffer
to the caller who should free it manually.
No, wait, you can't change the calling convention of an existing
library function just like that. That would turn all application
Hello, t...@!
The manual of getfsstat(2) contains the 4.3 struct statfs layout.
Index: getfsstat.2
===
RCS file: /cvs/src/lib/libc/sys/getfsstat.2,v
retrieving revision 1.17
diff -u -p -r1.17 getfsstat.2
--- getfsstat.2 5 Jun 2009
Hello, t...@!
The getmntinfo(3) page says that the mentioned function uses static
storage which cannot be freed, however this storage is being actually
malloced and can be freed without consequences.
I see no real need in doing such weird things (correct me if i'm
wrong) so here's a diff to
Hello, t...@!
Subj, cpu_unidle() does that check itself.
Index: i386/machdep.c
===
RCS file: /cvs/src/sys/arch/i386/i386/machdep.c,v
retrieving revision 1.481
diff -u -p -r1.481 machdep.c
--- i386/machdep.c 5 Aug 2010 21:10:09
Hello t...@!
Subj,
Index: glxpcib.c
===
RCS file: /storage/cvs/src/sys/arch/i386/pci/glxpcib.c,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 glxpcib.c
--- glxpcib.c 21 Sep 2010 12:55:25 - 1.11
+++ glxpcib.c 22 Sep
On 21:02 Mon 22 Mar, Ariane van der Steldt wrote:
[cc-ed to tech@, more testing is good!]
Hi,
Last c2k9 this diff appeared and alot of head-ache was the result,
eventually it was part of the Big Backout.
Time to try this again.
What I'd like:
- test this diff
- if you don't test
Hello t...@!
I was playing with trunk(4) and discovered that trunks can be mutually
stacked, i.e.
# ifconfig trunk0 trunkport trunk1
# ifconfig trunk1 trunkport turnk0
trunk0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
lladdr 00:bd:ab:43:15:02
priority: 0
Hello t...@!
This diff prevents setting bogus netmasks, which are retrieved via
gethostbyname()
i.e.:
root ~ 0 # grep mynet /etc/networks
mynet 255.255.0.0
root ~ 0 # ifconfig vether0 inet 10.0.0.100 netmask mynet
root ~ 0 # ifconfig vether0
vether0:
forgot the case to avoid
# ifconfig vether0 netmask google.com
Index: ifconfig.c
===
RCS file: /cvs/src/sbin/ifconfig/ifconfig.c,v
retrieving revision 1.226
diff -u -p -r1.226 ifconfig.c
--- ifconfig.c 14 Dec 2009 17:22:58 -
Hello t...@!
Not sure this strdup() is required just to print the actor_mac.
Should it be removed?
Index: ifconfig.c
===
RCS file: /cvs/src/sbin/ifconfig/ifconfig.c,v
retrieving revision 1.226
diff -u -p -r1.226 ifconfig.c
---
Hello t...@!
This unbreaks make build when YP is not used, as ypldap should
belong to YP build group.
Index: Makefile
===
RCS file: /cvs/src/usr.sbin/Makefile,v
retrieving revision 1.148
diff -u -p -r1.148 Makefile
--- Makefile
Hello, Philip!
On 12:48 Fri 04 Dec, Philip Guenther wrote:
@@ -372,6 +374,7 @@ tunopen(dev_t dev, int flag, int mode, s
s = splnet();
ifp-if_flags |= IFF_RUNNING;
tun_link_state(tp);
+ tp-tun_proc = p;
Ick, holding a pointer to a struct proc from inside a
On 09:34 Fri 04 Dec, Otto Moerbeek wrote:
The main problem with this code is that ENOTTY is the wrong errno to
return. ENOTTY has a very specific meaning.
It's hard to pick the right one. ESRCH seems close, but is for the
reverse situation (you're requesting info for a pid taht does not
Hello t...@!
/sys/net80211 is missing from /sys/kern/Make.tags.inc
Index: Make.tags.inc
===
RCS file: /cvs/src/sys/kern/Make.tags.inc,v
retrieving revision 1.14
diff -N -u -p Make.tags.inc
--- Make.tags.inc 3 Jun 2009
Hello t...@!
I've noticed an interesting routing behaviour, now curious of how it
should perform in reality:
Situation: two interfaces (uplinks), which receive default routes via dhcp
(net.inet.ip.multipath=1)
em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr
Hello, t...@!
It seems, that pfsync(4) is missing from the list of interfaces which
can be dynamically created:
Index: ifconfig.8
===
RCS file: /cvs/src/sbin/ifconfig/ifconfig.8,v
retrieving revision 1.184
diff -N -u -p ifconfig.8
On 11:57 Mon 09 Nov, Vladimir Kirillov wrote:
It seems, that pfsync(4) is missing from the list of interfaces which
can be dynamically created:
Oops, screwed the diff,
Index: ifconfig.8
===
RCS file: /cvs/src/sbin/ifconfig
Hello, t...@!
There is a diff for fork1.9 manual page. The current manual does not
mention the latest function argument, rnewprocp
Index: fork1.9
===
RCS file: /cvs/src/share/man/man9/fork1.9,v
retrieving revision 1.11
diff -N -u
30 matches
Mail list logo