cegger
50fb102fe3
use aprint_*_dev and device_xname
2008-04-08 06:12:21 +00:00
kiyohara
64e7d595e1
Split device_t/softc.
...
And cosmetic change.
2008-03-29 16:22:53 +00:00
perry
b6a2ef7569
Convert many of the uses of __attribute__ to equivalent
...
__packed, __unused and __dead macros from cdefs.h
2007-12-25 18:33:32 +00:00
kiyohara
c33e2714c5
+ Sync to FreeBSD.
...
firewire.c Rev.1.101
firewire.h Rev.1.21
firewirereg.h Rev.1.50
fwdev.c Rev.1.52
fwdma.c Rev.1.9
fwmem.c Rev.1.34
fwohci.c Rev.1.93
fwohcireg.h Rev.1.23
fwohcivar.h Rev.1.16
if_fwip.c Rev.1.16
if_fwipvar.h Rev.1.5
sbp.c Rev.1.92
+ Cleanup macros in fw_port.h.
+ Fix the occurrence of the error at the resume. Don't set the buffer again.
2007-11-05 19:08:56 +00:00
ad
a2a3828545
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
2007-10-19 11:59:34 +00:00
rmind
c8c024369c
Improve per-CPU support for the workqueue(9):
...
- Make structures CPU-cache friendly, as suggested and explained
by Andrew Doran. CACHE_LINE_SIZE definition is invented.
- Use current CPU if NULL is passed to the workqueue_enqueue().
- Implemented MI CPU index, which could be used as an index of array.
Removed linked-lists usage for work queues.
The roundup2() function avoids division, but works only with power of 2.
Reviewed by: <ad>, <yamt>, <tech-kern>
2007-08-05 01:19:17 +00:00
ad
88ab7da936
Merge some of the less invasive changes from the vmlocking branch:
...
- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
2007-07-09 20:51:58 +00:00
kiyohara
29417afebc
firewire.c sync to Rev.1.86 for FreeBSD.
...
firewirereg.h sync to Rev.1.41 for FreeBSD.
fwcrom.c sync to Rev.1.14 for FreeBSD.
fwdev.c sync to Rev.1.49 for FreeBSD.
fwmem.c sync to Rev.1.32 for FreeBSD.
fwohci.c sync to Rev.1.86 for FreeBSD.
fwohcivar.h sync to Rev.1.15 for FreeBSD.
if_fwip.c sync to Rev.1.14 for FreeBSD.
if_fwipvar.h sync to Rev.1.4 for FreeBSD.
sbp.c sync to Rev.1.89 for FreeBSD.
2007-04-21 15:27:43 +00:00
christos
53524e44ef
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
2007-03-04 05:59:00 +00:00
christos
168cd830d2
__unused removal on arguments; approved by core.
2006-11-16 01:32:37 +00:00
christos
4d595fd7b1
- sprinkle __unused on function decls.
...
- fix a couple of unused bugs
- no more -Wno-unused for i386
2006-10-12 01:30:41 +00:00
christos
ff685a253e
we have rounddown in <sys/param.h> now
2006-10-04 15:48:36 +00:00
jmcneill
f135e0d607
Add "name" parameter to powerhook_establish, to aid debugging. No objections
...
on tech-kern@
2006-09-24 03:53:07 +00:00
christos
1158495345
fix order of decl
2006-08-30 01:59:06 +00:00
kiyohara
b6f53afe55
Use An appropriate flag in macro fw_bus_dma_*.
2006-04-30 14:14:06 +00:00
kiyohara
dd76308798
Coordination of macro fw_bus_dma_tag_create().
2006-04-30 13:15:01 +00:00
kiyohara
3575b136a0
Remove `;'.
2006-04-30 12:47:32 +00:00
kiyohara
12730f6820
No parentheses are needed around the return value.
2006-04-30 12:28:21 +00:00
christos
fc1743863a
Coverity CID 1120: Avoid NULL deref.
2006-04-14 21:47:04 +00:00
christos
919b776cba
Coverity CID 2696: Don't use SLIST_FOREACH when freeing elements.
2006-04-14 21:39:50 +00:00
thorpej
39cd836ee1
Use device_unit().
2006-03-28 17:38:24 +00:00
perry
fbae48b901
Change "inline" back to "__inline" in .h files -- C99 is still too
...
new, and some apps compile things in C89 mode. C89 keywords stay.
As per core@.
2006-02-16 20:17:12 +00:00
thorpej
5047c6db68
No longer need our own device_t typedef.
2005-12-20 04:31:28 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
christos
3b9c87155a
Merge the 3 copies of m_getcl() so that fast ipsec compiles again together
...
with net80211. XXX: We don't really have an m_getcl(), we just emulate it.
2005-12-04 19:15:21 +00:00
drochner
49a3609892
kill some more simple submatch() functions, use config_stdsubmatch()
2005-08-26 11:20:33 +00:00
kiyohara
262bf10a6d
Since fwip_unicast_input_recycle() is called from interrupt context, one
...
can't sleep there.
2005-07-23 16:55:13 +00:00
drochner
e7bf69a733
minor cleanup: some "const", global namespace sanity and fix a maclo name
2005-07-20 15:11:57 +00:00
kiyohara
c1a84a4d12
ieee1394 import from FreeBSD.
2005-07-11 15:29:05 +00:00