Moving to -fno-pie in the kernel Makefiles

2012-08-22 Thread Brian Callahan
Hi tech -- I noticed today that a commit went in today adding -fno-pie to the kernel Makefiles. [0] Is there a reason that loongson didn't get this change? Thanks. ~Brian [0] http://marc.info/?l=openbsd-cvs&m=134565475206317&w=2

Re: Attach drm(4) to vgafb(4)

2012-08-22 Thread Martin Pieuchot
On 22/08/12(Wed) 21:18, Mark Kettenis wrote: > > On 21/08/12(Tue) 20:58, Mark Kettenis wrote: > > > > Date: Tue, 21 Aug 2012 19:17:08 +0200 > > > > From: Martin Pieuchot > > > > > > > > Diff below is mostly a rewrite of vgafb_pci_probe() to determine the > > > > memory and mmio regions based on p

Re: sndio cleanups

2012-08-22 Thread Grumpy
> Granted, the trend seems to be that everything excepts BSDs and Linux is > dead anyways, so if it builds there, you should be fine. ;( Does Netcraft confirm this?

Re: Attach drm(4) to vgafb(4)

2012-08-22 Thread Mark Kettenis
> On 21/08/12(Tue) 20:58, Mark Kettenis wrote: > > > Date: Tue, 21 Aug 2012 19:17:08 +0200 > > > From: Martin Pieuchot > > > > > > Diff below is mostly a rewrite of vgafb_pci_probe() to determine the > > > memory and mmio regions based on previously initialized BAR structures. > > > But it also i

Re: use time_uptime for various pf expirations

2012-08-22 Thread Florian Obser
Hi, I think I got this now. - replace time_seconds with time_uptime - with that flow_finish in pflow can be simplified (pointed out by benno@) this should take care of flows with finish < start for localy created states - change various variables from unsigned to signed (mainly) in pfsync whic

Re: System is halted while installing on IBM x 3550 M3 server

2012-08-22 Thread seyphire
Looks similar to this one http://marc.info/?l=openbsd-misc&m=131181074820194&w=2 There is some ACPI feature in the 3560's BIOS which I could deactivate to make the machine start through. Unfortunatly don't remember exactly which feature it was, CPU states or ACPI C5 states or something like t

Re: Attach drm(4) to vgafb(4)

2012-08-22 Thread Martin Pieuchot
On 21/08/12(Tue) 20:58, Mark Kettenis wrote: > > Date: Tue, 21 Aug 2012 19:17:08 +0200 > > From: Martin Pieuchot > > > > Diff below is mostly a rewrite of vgafb_pci_probe() to determine the > > memory and mmio regions based on previously initialized BAR structures. > > But it also includes the gl

Re: sndio cleanups

2012-08-22 Thread Matthew Dempsky
On Wed, Aug 22, 2012 at 8:59 AM, Philip Guenther wrote: > So, you can use 'div' as the name of a object variable without > concern...if you're in a standard conforming compilation. And as long as it's not an object variable of a function pointer type that you later invoke like "div(foo)" rather t

Re: sndio cleanups

2012-08-22 Thread Philip Guenther
On Wed, Aug 22, 2012 at 2:05 AM, Marc Espie wrote: >> But does this mean we start avoiding local variables that shadow >> functions? This means that div, pause, time, and many other common >> names are to be avoided as well, doesn't it? > > Well, if you write portable code, you should. > > Some of

Re: sndio cleanups

2012-08-22 Thread Geoff Steckel
On 08/22/2012 05:05 AM, Marc Espie wrote: On Tue, Aug 21, 2012 at 09:43:25PM +0200, Alexandre Ratchov wrote: On Mon, Aug 20, 2012 at 10:10:39AM +0200, Marc Espie wrote: - prototypes for everything. Why, aren't forward declaration good enough ? Not with -Wstrict-prototypes. But does this mea

Re: System is halted while installing on IBM x 3550 M3 server

2012-08-22 Thread munga
> On 2012/08/22 06:13, mu...@nitrkl.ac.in wrote: >> > >> > If you try an amd64 -current snapshot, are the disks detected? >> > >> > Can you install to a USB stick and get a dmesg / pcidump / acpidump >> for >> > amd64? >> > >> Yes in amd64 -current snapshot disks are detected. and installation >> c

Re: Support power saving with athn(4) in host AP mode

2012-08-22 Thread Marko Saarela
On 18.8.2012 11:40, Mark Kettenis wrote: > Further testing would be welcome. Even if you don't use clients with > power saving enabled. So if you're running an athn(4) based AP, > please give this a spin. Been testing this for two days and everything seems to work like a charm. Testing done wit

Re: System is halted while installing on IBM x 3550 M3 server

2012-08-22 Thread munga
> On 2012/08/22 06:13, mu...@nitrkl.ac.in wrote: >> > >> > If you try an amd64 -current snapshot, are the disks detected? >> > >> > Can you install to a USB stick and get a dmesg / pcidump / acpidump >> for >> > amd64? >> > >> Yes in amd64 -current snapshot disks are detected. and installation >> c

Re: sndio cleanups

2012-08-22 Thread Marc Espie
On Tue, Aug 21, 2012 at 09:43:25PM +0200, Alexandre Ratchov wrote: > On Mon, Aug 20, 2012 at 10:10:39AM +0200, Marc Espie wrote: > > since you have -Werror in your CFLAGS, sndio fails a build with > > WARNINGS=Yes... > > > > The following patch fixes things. > > - hex constants are unsigned. > >