christos
6e03a05a94
fix gcc uninitialized warnings
2011-07-18 00:43:35 +00:00
christos
6c10492aaa
fix uninitialized gcc variables
2011-07-18 00:42:40 +00:00
mrg
142a02103b
convert the remaining sparc drivers to CFATTACH_DECL_NEW/cfdata_t/device_t.
...
(cgsix_obio.c was only partially converted with the rest of the cgsix code
when it was changed some time ago.)
2011-07-18 00:31:13 +00:00
mrg
9c508f54bd
convert to use device_t, cfdata_t and CFATTACH_DECL_NEW().
...
XXX: compile time tested only.
2011-07-18 00:05:35 +00:00
christos
1360a27d17
fail early on socket domain+type combinations we don't support
2011-07-17 23:59:54 +00:00
dyoung
106ff60f41
Do not install bus.h.
2011-07-17 23:52:12 +00:00
dholland
99199b5b1a
fix typo
2011-07-17 23:50:05 +00:00
dyoung
8a61060442
Switch to new-style <sys/bus.h>.
2011-07-17 23:48:35 +00:00
dholland
99f3bafa7f
prune stray commas
2011-07-17 23:46:53 +00:00
dyoung
35546ae908
On ARM-ish ports having PCI support, use new-style <sys/bus.h>. Do not
...
install <machine/bus.h>. Remove various <machine/bus.h> sources.
2011-07-17 23:46:49 +00:00
dyoung
90bc18e758
Increase SYMTAB_SPACE.
2011-07-17 23:40:43 +00:00
dyoung
fb90a131da
Switch to new-style <sys/bus.h>.
2011-07-17 23:40:16 +00:00
dyoung
e6b05a5d9b
Increase SYMTAB_SPACE. How do we automate this?
2011-07-17 23:39:46 +00:00
dyoung
f9a358cfdb
Good-bye bus.h. Don't install <machine/bus.h>.
2011-07-17 23:38:32 +00:00
dyoung
e08fcd397b
Update set lists for changes related to new-style <sys/bus.h>.
...
While I'm here, repair sparc64 set list.
2011-07-17 23:37:32 +00:00
mrg
210f684c14
actually use CFATTACH_DECL_NEW() and device_private() for mspcic.
2011-07-17 23:34:17 +00:00
mrg
794d81a9dd
convert all the "empty softc" (just "struct device") drivers to using
...
device_t/cfdata_t and CFATTACH_DECL_NEW().
the mspcic driver was also converted since it does not ever touch the
sc_dev it used to have in there.
2011-07-17 23:32:37 +00:00
dyoung
bcbb44b510
Switch to new-style <sys/bus.h>. hp700 releases are unbuildable for
...
reasons not related to my changes here, so I'm not 100% that a release
build will run to completion with these changes in place.
2011-07-17 23:32:21 +00:00
dyoung
9c93e701a6
Switch sparc and sparc64 to new-style <sys/bus.h>.
2011-07-17 23:29:10 +00:00
dyoung
7d2843a545
Switch more PowerPC ports having PCI support to new-style <sys/bus.h>.
2011-07-17 23:27:02 +00:00
dyoung
d181d57cd1
Enable new-style <sys/bus.h> on several PowerPC ports supporting PCI
...
buses. Make non-inline implementations of bus_space(9) and bus_dma(9)
routines and move them to appropriate .c files.
This may leave amigappc in a bad state, sorry. Fortunately, it will be
easy to repair by imitating the bus.h -> bus_{defs,funcs}.h split in
some other PowerPC port.
2011-07-17 23:23:53 +00:00
mrg
ace9f0e4af
convert all the sparc drivers that attach on my ss20 to use device_t,
...
cfdata_t and CFATTACH_DECL_NEW().
fd/fdc could use better testing, but i'm pretty sure i got it right.
2011-07-17 23:18:23 +00:00
dyoung
6e7a8e528f
#include <sys/bus.h> not <machine/bus.h>.
2011-07-17 23:08:56 +00:00
dholland
84a8bd42ce
minor amendment to previous
2011-07-17 22:14:47 +00:00
dholland
d1917ffca2
Provide correct locking for ufs_wapbl_rename. Note that this does not
...
fix the non-wapbl rename; that will be coming soon. This patch also
leaves a lot of the older locking-related code around in #if 0 blocks,
and there's a lot of leftover redundant logic. All that will be going
away later.
Relates to at least these PRs:
PR kern/24887
PR kern/41417
PR kern/42093
PR kern/43626
and possibly others.
2011-07-17 22:07:59 +00:00
dholland
9ae442b9dd
At the end of ufs_rmdir, don't use a dangling vnode pointer to call
...
fstrans_done. Ok hannken@
2011-07-17 22:02:26 +00:00
dholland
3d3932fe1c
Fix typo in ufs_rmdir that causes locking botches. This code should be
...
unreachable because the FS-independent code contains the same test... but
I'm not sure if that applies if nfsd is involved.
2011-07-17 22:00:38 +00:00
joerg
3eb244d801
Retire varargs.h support. Move machine/stdarg.h logic into MI
...
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
2011-07-17 20:54:30 +00:00
christos
ab0103dee5
fix type punned warnings in debugging code.
2011-07-17 20:47:39 +00:00
joerg
9777e8c193
Update to Clang/LLVM r135360. Most importantly, this adjusts the
...
cc -print-search-dirs output to expand sysroot-prefixed library paths to
make live easier for libtool.
2011-07-17 20:07:56 +00:00
joerg
5158e28f3b
Disable Clang's integrated assembler for the AES-NI files for now.
...
Somewhere in this mess of .byte streams, corruption happens. Disassembly
only shows slightly different filling of alignment sequences, further
analysis is needed.
XXX This should be rewritten to be proper assembler code
2011-07-17 19:48:31 +00:00
jym
4b70f9c001
CR4_PAE is always set to 1 under amd64, so indicate that PAE mode is
...
enabled. Can be useful for 32-bits test runs on amd64 hosts.
2011-07-17 15:16:58 +00:00
uch
8ef6a31f0e
fix freeblock counting
2011-07-17 12:47:38 +00:00
njoly
58b2cc408f
Use errx() to display kvm_openfiles error message, the provided buffer
...
already has it.
2011-07-17 10:22:07 +00:00
dyoung
32cefa1432
Oops, add back struct alpha_pci_conf_readwrite_args.
2011-07-17 04:30:56 +00:00
jakllsch
ff198a0b2c
- Fix wmieeepc(4) hotkeys on Eee PC 1215T
...
- Rework wmi_event_enable into appropriately seperate versions for enabling
events and collection.
- Enable all events, not just ones tagged as expensive.
2011-07-17 02:46:01 +00:00
jakllsch
041ea5875c
"successfully" spell "succesfully" in a comment.
2011-07-17 02:32:01 +00:00
dyoung
3e7023d63c
We don't install <evbmips/bus.h>, so mark the set-list entry obsolete.
2011-07-17 01:37:32 +00:00
dyoung
0e0deeb06f
Switch MIPS and MIPS-ish architectures to new-style <sys/bus.h>. This
...
involves moving some inline bus_space(9) implementation into .c files.
2011-07-17 01:36:50 +00:00
dyoung
ed985acff0
Increase SYMTAB_SPACE.
2011-07-17 01:35:01 +00:00
dyoung
e72ff6f361
Repair device_t/softc so that this compiles.
2011-07-17 01:29:25 +00:00
dyoung
c3b6818a57
We no longer install <machine/bus.h> on amd64 and i386, so mark it
...
obsolete in the set lists.
2011-07-17 01:20:12 +00:00
dyoung
729a062f00
On i386, good-bye <machine/bus.h>.
2011-07-17 01:18:42 +00:00
dyoung
47f9429e80
On amd64, good-bye <machine/bus.h>.
...
Up next: update set lists.
2011-07-17 01:17:27 +00:00
christos
27ed5dfb1a
- exit with ERROR_EXIT consistently
...
- don't use warnx() for things that set errno
- check result of setlogin()
- don't call setlogin() without calling setsid()
should fix kernel warnings like:
cron (pid NNNNN) changing logname from root to USER
cron (pid MMMMM) changing logname from USER to root
2011-07-17 01:16:46 +00:00
christos
bd253b6939
calling setlogin() once is good enough.
2011-07-17 01:14:25 +00:00
dyoung
2b3a0c5ab0
Mark libalpha obsolete.
2011-07-17 01:13:22 +00:00
dyoung
ff4557ec84
Don't descend into alpha/.
...
Up next: fix set lists.
2011-07-17 01:09:00 +00:00
dyoung
5a5f17e82b
Don't #include <machine/bus_defs.h> from this header unless _KERNEL
...
is #defined. While this header is installed in the alpha userland,
however, <machine/bus_defs.h> is not.
Don't declare any of the alpha_bus_ or alpha_pci_ symbols unless _KERNEL
is #defined. I cannot find anything but libarch in the base system
that uses the symbols. Anything using alpha_pci_ symbols ought to use
pci(3), instead. Up next: don't use those symbols in libarch.
2011-07-17 01:08:12 +00:00
dyoung
7186d1a576
#include <sys/bus.h> not <machine/bus.h>.
2011-07-17 00:52:42 +00:00