Commit Graph

112278 Commits

Author SHA1 Message Date
mbalmer
550019b8a7 Add the flag locator (missed in the previous commit). 2011-10-02 10:01:25 +00:00
mbalmer
90077b6e6d Add a ga_flags field to the gpio_attach structure to hand driver
specific flags to drivers being attached at gpio pins.  gpioiic(4)
uses this to reverse the SDA/SCL signal order.  gpioctl(8) accepts
the flag values as optional argument to the attach command.
While here, make sure we retain backwards compatability and wrap compat
code in #ifdef COMPAT_50/#endif.
2011-10-02 09:33:18 +00:00
christos
75b61a4bee Define a macro we can use to detect if a port has support for ieeefp 2011-10-01 17:39:14 +00:00
chs
e873fd069d use gcc builtin for memset() on vax too. 2011-10-01 16:06:24 +00:00
chs
351915c5a2 add missing KERNEL_BASE_EXT. 2011-10-01 16:02:21 +00:00
chs
7cb12714f7 fix build errors with gcc 4.5. 2011-10-01 15:59:00 +00:00
chs
90d3e8aadd elroy regs don't need to be packed, makes this work with gcc 4.5. 2011-10-01 15:51:36 +00:00
chs
877ceea7f6 PDC_CHASSIS_INFO needs a third parameter, the size of the LCD structure. 2011-10-01 15:51:17 +00:00
chs
edf71167bd fix EXIT label for fusufault, caught by new binutils. 2011-10-01 15:50:46 +00:00
christos
adcbdeaf66 PR/45156: Moritz Wilhelmy: Add 4G Systems XS Stick P14 USB 3G modem support. 2011-09-30 18:59:04 +00:00
christos
fae590c371 regen 2011-09-30 18:43:19 +00:00
christos
c1042e944c Add 4G Systems XSStick P14 USUPA 5.76Mb/s USB modem 2011-09-30 18:42:59 +00:00
mrg
af1a60157f avoid sys/systm.h in userland ppath.h.
include types.h/stdarg.h in all systm.h configs.

my amd64 build without man pages now worked at least.
2011-09-30 10:23:03 +00:00
mrg
ad1c111812 re-arrange the end of uvm_page_recolor() to avoid the multiple exit
points.  move the call to uvm_pager_realloc_emerg() to after we
drop the uvm_fpageqlock, since it may be taken again in uvm_km_alloc().

fixes LOCKDEBUG crashes with the previous change.
2011-09-30 05:29:12 +00:00
jruoho
7f1b62e468 Remove redundant assignment. 2011-09-30 04:10:54 +00:00
he
8dd0ec196d Bump SYMTAB_SPACE so that the symbol table fits again. 2011-09-30 04:05:07 +00:00
jruoho
dd10cec68c Fix bugs noted by alnsn@. Namely, preallocate the global structure in
order to avoid locking issues during deregistration.
2011-09-30 04:01:21 +00:00
christos
01035c71fc Add vpanic() 2011-09-29 20:52:39 +00:00
christos
86caa87dd0 - add missing attributes to varyadic print functions
- add vpanic()
2011-09-29 20:52:12 +00:00
christos
3fca869442 rename vpanic() to vnpanic() and make it varyadic. While there, fix the
broken formats, always call panic() from vnpanic() and make all the calls
use vnpanic(). We only call vprint() on DIAGNOSTIC now.
2011-09-29 20:51:38 +00:00
christos
b3bf6991f2 Don't include <sys/systm.h> because it brings in too much stuff that
conflicts with standalone code. Instead modify kern_assert() to be like
panic() and call that.
2011-09-29 20:50:09 +00:00
sjg
3a3c1d94e3 Add filemon to the modules we build. 2011-09-29 17:40:19 +00:00
is
a038991fd1 Use symbolic constants for SUNs version of ADP2_ASR2200S. 2011-09-29 12:51:28 +00:00
he
5993922d71 Drop the "static" from the HEXDIGITS declaration, now that there's an
extern definition in sys/systm.h, to allow this to continue to build.
2011-09-29 09:18:17 +00:00
matt
d289edb2b2 Reallocate emergency pager va when ncolors is increased. (modication of
patch from mrg).
2011-09-28 22:52:15 +00:00
christos
7de83c2f9e syscall (setcontext) can alter eax, so don't attempt to get code again from it
in order to avoid register spills.
2011-09-28 17:27:21 +00:00
jruoho
8f43552059 Initialize cpufreq(9) normally from main(). 2011-09-28 15:52:47 +00:00
jruoho
7feffa2641 Call cpufreq_suspend(9) and cpufreq_resume(9) during suspend/resume. 2011-09-28 15:38:21 +00:00
jruoho
605462e842 Install <sys/cpufreq.h>. 2011-09-28 14:26:27 +00:00
nonaka
45c92afe4f Added "\SD-MMC Card\" entry for PSIONTEKLOGIX NETBOOK PRO. 2011-09-28 14:19:13 +00:00
jruoho
a179648071 Add a simple cpufreq(9).
This is slightly improved version presented on tech-kern@ with proper
locking and few additional functions, mainly required for ioctl(9)/cpuctl(8).
2011-09-28 10:55:46 +00:00
macallan
c3a0b13e0d support a hardware cursor - now X with wsfb on gdium is a little less annoying 2011-09-28 02:36:37 +00:00
macallan
e6310bd1e3 add a couple more registers 2011-09-28 02:33:20 +00:00
macallan
f73964743d support WSDISPLAYIO_GCURSOR and WSDISPLAYIO_SCURSOR 2011-09-28 01:46:39 +00:00
dyoung
ffb96a7f74 Cosmetic: join some if-statements, remove superfluous parentheses. No
change in the generated assembly.
2011-09-28 01:45:49 +00:00
dyoung
d60981839b After bouncing in bus_dmamap_load{,_mbuf,_uio}, call bus_dmamap_load(9)
instead of _bus_dmamap_load() so that a bus_dmamap_load(9) override has
a shot at loading the map.

XXX Perhaps bounce buffers should be rewritten in terms of bus_dma(9)
XXX overrides.
2011-09-28 01:38:19 +00:00
dyoung
6fdab11de7 In bus_dma_tag_create(9), copy important properties (e.g., bounce
parameters) from the parent tag.

In bus_dma_tag_create(), increase the reference count on a parent
bus_dma_tag_t (if applicable), and decrease the reference count in
bus_dma_tag_destroy().

Don't let bus_dmatag_destroy(9) destroy an overridden bus_dma_tag_t.
2011-09-28 01:35:58 +00:00
dyoung
9115bf9945 Add an untested implementation of bus_dmamap_load_raw(9). 2011-09-28 01:33:26 +00:00
dyoung
109ec163ae Instead of declaring _bus_dmamap_load_busaddr() static inline, make
it static and let the compiler decide about inlining.  This reduces
the code size on both amd64 and i386, and the smaller code is probably
faster code.
2011-09-27 23:44:18 +00:00
dyoung
65d90030bd In _bus_dmamap_load_busaddr(), change sgsize from an int to a bus_size_t. 2011-09-27 23:33:35 +00:00
dyoung
db42fb0801 Make the 'size' argument of _bus_dmamap_load_busaddr() a bus_size_t for
consistency's sake.
2011-09-27 23:25:55 +00:00
christos
2c92bb1afb Welcome to .56; NAME_MAX bump. 2011-09-27 23:04:18 +00:00
mbalmer
54ac94cda5 Underscores are sometimes overrated. 2011-09-27 14:24:52 +00:00
christos
1094105849 fix confusion between MAXPATHLEN and MAXNAMLEN 2011-09-27 13:53:26 +00:00
christos
6c3622d61d include <sys/dirent.h> to make MAXNAMLEN visible. 2011-09-27 02:10:55 +00:00
christos
867c11e68d include the proper headers to make {LFS,EXT2FS}_MAXNAMLEN visible 2011-09-27 02:10:32 +00:00
christos
8b0d7f915b rename SMBFS_MAXFNAMELEN to SMBFS_MAXNAMLEN for consistency 2011-09-27 02:05:10 +00:00
christos
da2c6e95eb fix comment. 2011-09-27 01:51:42 +00:00
christos
d4bb8ac2b1 don't get affected by the NAME_MAX bump. Use the same constant as the
rest of the extrattr code.
2011-09-27 01:48:57 +00:00
christos
a6015585d7 use RUMPFS_MAXNAMLEN consistently. 2011-09-27 01:45:04 +00:00