dyoung
ca874f52f7
Make many void rtcache_X() routines return struct rtentry *, so
...
that we can make many back-to-back rtcache_X();rtcache_getrt()
calls into one rtcache_X() call.
2008-01-10 08:03:22 +00:00
dyoung
72fea72bb2
Add a helper subroutine for ethernet drivers, ifmedia_change().
2008-01-10 08:00:22 +00:00
dyoung
636e434283
Support pcppi(4) detachment.
...
Use device_t, device_private(). Get rid of a struct device * cast.
2008-01-10 07:58:39 +00:00
dyoung
d3a283186c
Use device_t.
2008-01-10 07:49:04 +00:00
dyoung
92e5e1c722
Oops, remove some debug statements that slipped in there.
2008-01-10 07:48:22 +00:00
dyoung
3a66b9167f
Let us detach atabus* from wdc*, and wdc* from isa*.
...
Use device_t, device_private().
2008-01-10 07:44:07 +00:00
dyoung
1415c1d7aa
Use device_t, device_xname(), device_private(). Add atabus_childdetached()
...
to clean up pointers to detached children.
2008-01-10 07:41:20 +00:00
dyoung
3e5bb8f3c8
Produce tags for arch/i386/acpi/*.[ch], arch/i386/pnpbios/*.[ch].
2008-01-10 07:35:09 +00:00
dyoung
a826619d34
Make the 'tags' target produce some useful tags.
2008-01-10 07:34:02 +00:00
dyoung
c329a611cb
Add a helper routine for ethernet drivers, mii_ifmedia_change().
...
Remove an mii_softc from its mii_data in mii_phy_detach(), not in
mii_detach(), so that we do not leave dangling pointers to a PHY
in an mii_data.
2008-01-10 07:29:41 +00:00
dyoung
49df706f87
Re-use ether_mediachange(), ether_mediastatus(). Stop using
...
shutdownhook_establish(9).
2008-01-10 07:25:33 +00:00
dyoung
5356178f4c
Skip rump when creating tags, because rump defines symbols that
...
interfere with important kernel symbols such as splnet().
2008-01-10 07:19:54 +00:00
lukem
d7382668ef
Convert to using raise_default_signal(3).
2008-01-10 05:15:07 +00:00
tls
cfdef6ecba
Teach set_ftime about symbolic links, because it has to know: on some
...
Linux systems, when we build as a tool we think we have lutimes but it
doesn't work on some filesystems at runtime. A bit ugly but effective
and without use of AC_TRY_RUN in the tool build. Tidier (than mine)
set_ftime reorganization from christos.
2008-01-10 04:24:51 +00:00
martin
8f4340d1d4
Modify the high part of the fraction so that we recognize our __infinityl
...
value.
XXX - seems like we could share this with LE archs
2008-01-10 00:34:27 +00:00
bouyer
0b075efe67
Move a CLI() after .Lspllower_resume; because on Xen .Lspllower_resume
...
may be called from Xdoreti via iret, so with interrupts enabled.
2008-01-09 23:45:34 +00:00
uwe
829ba69fd1
Don't bury &sc->sc_dev idiom inside arglist of aprint_error_dev(), use
...
explicit device_t self variable instead to make future conversion easier.
2008-01-09 22:29:20 +00:00
uwe
9ea46456ee
Autoconf allocates softc with M_ZERO, so there's no need to explicitly
...
init missing todr methods to NULL.
2008-01-09 22:20:40 +00:00
uwe
1825805f68
Use todr_{get,set}time_ymdhms methods and let MI code in kern_todr.c
...
do conversion and checks.
2008-01-09 22:09:22 +00:00
xtraeme
5ff8000aa3
transferlockers() is gone. ok ad
2008-01-09 22:06:00 +00:00
macallan
17a447b4f8
mention PGX32 / Raptor 8P support on sparc64
2008-01-09 22:04:23 +00:00
garbled
63cf0079d4
ofwoea_batinit should be a nop when PPC_OEA is not defined
2008-01-09 21:32:38 +00:00
ad
b1a7a7cd93
vget: don't leak a reference if LK_NOWAIT and the vnode has VI_XLOCK set.
2008-01-09 21:29:38 +00:00
garbled
cf3691bced
Mac doesn't need the special hack for the bridge mode prototype anymore.
2008-01-09 21:23:18 +00:00
garbled
ade34db359
When compiling in bridge mode, add a prototype for pmap_setup_segment0_map()
2008-01-09 21:21:45 +00:00
garbled
acc486b147
fix a bad cast when compiling in bridge mode
2008-01-09 21:12:34 +00:00
garbled
0cdee0226b
Make this compile when compiling in bridge mode w/o ALTIVEC
2008-01-09 21:09:21 +00:00
christos
82c43e19fc
tell about getdents, not getdirentries
2008-01-09 20:55:03 +00:00
tnn
8134e656ee
fd_revoke: variable vattr is no longer used.
2008-01-09 20:45:19 +00:00
wiz
ccb4a914d3
Add RFE (request for enhancements).
2008-01-09 20:41:10 +00:00
wiz
35023be713
Fix typo in macro name and comments.
2008-01-09 20:38:34 +00:00
degroote
b69cd173f5
Make sure BBP is ready before writing to it
...
From DragonflyBSD
2008-01-09 20:21:23 +00:00
degroote
94aebeb732
Add some sysctl to retrieve the radio state (and the debug level).
...
While here, fixe the return value in case where radio is off (suggested by
joerg@).
2008-01-09 20:15:40 +00:00
garbled
0d31ffa76d
Remove alloc.h too, no longer needed.
2008-01-09 19:39:07 +00:00
garbled
3d12616d63
Change the note section for ofwboot to be what the ppc 1275 spec says it
...
should be, also add a section for IBM LPARs.
2008-01-09 19:36:40 +00:00
garbled
dc535894e1
Changes to the ofppc ofwboot to make it boot on an IBM CHRP RS/6000.
...
Tested on a pegasos II and a 7044-270. Also, switch away from the hacked
up alloc.c we were using, and use the stock libsa one.
2008-01-09 19:34:44 +00:00
uwe
b2fb3432e4
rtc_offset is handled by kern_todr.c, so nuke it here.
...
Pointed out by joerg@
2008-01-09 18:29:37 +00:00
ad
dd68496f43
Fix hangs on 'biolock' when creating a directory under / with softdep.
2008-01-09 18:20:54 +00:00
aymeric
f5f76a59f0
probe as console devices which have a "class-code" property corresponding to
...
PCI_CLASS_DISPLAY, and not just those which have a "display" device_type.
In the case where each head is a subnode of the graphics card, it's the heads
which have a "display" device_type.
Maybe only testing "class-code" would make sense if this property is defined
on any openfirmware based PowerPC platform.
2008-01-09 17:45:46 +00:00
joerg
71c98bab0d
When not compiling for the kernel, use stdio.h instead of sys/systm.h
...
(printf) and locally define the protoype. Makes it possible to use
in_cksum.c for regression testing.
2008-01-09 17:13:52 +00:00
joerg
a7a33965fc
Anyone seriously interested in implementing in_cksum on a new platform
...
should read RFC 1071, so point them to it.
2008-01-09 17:01:46 +00:00
joerg
c9a1d552fc
Fix order.
2008-01-09 16:56:41 +00:00
joerg
115c1b1d7e
Note that all platforms use the generic TODR framework now.
2008-01-09 16:48:09 +00:00
joerg
9d157a1ecb
Add assembler version of in_cksum. Thanks to ad@ for his time as
...
peep hole optimiser. This is 30% faster than the portable C version
for checksumming 64byte and larger mbufs and as fast as or slightly
faster for shorter mbufs (with a high variance).
2008-01-09 16:40:17 +00:00
ad
96381cfdb1
4.99.49: struct vnode changed.
2008-01-09 16:16:27 +00:00
xtraeme
02a6d9a9bb
Mention GPIO_PIN_PULLDOWN, GPIO_PIN_INVIN and GPIO_PIN_INVOUT; from OpenBSD.
2008-01-09 16:15:41 +00:00
ad
0b52913dee
Go back to freeing on disk inodes in the inactive routine. It would be
...
better not to do this, but it rules out potential side effects with softdep.
2008-01-09 16:15:22 +00:00
xtraeme
00e40eb383
Staticify fully now.
2008-01-09 16:08:33 +00:00
xtraeme
9b5c4f4208
KNF: bzero -> memset, use EXIT_{FAILURE,SUCCESS}, setprogname() and
...
getprogname(), etc.
2008-01-09 16:06:21 +00:00
xtraeme
d8ea295bf8
Pass WARNS=4.
2008-01-09 15:57:06 +00:00