Commit Graph

168203 Commits

Author SHA1 Message Date
uwe
94dcf58d14 Split device_t and softc. 2008-03-27 01:48:50 +00:00
uwe
aece9113ff Fix CS_MACH definition. 0x10 is spelled 0x10, not 0x16. 2008-03-27 01:15:15 +00:00
uwe
8e76b33398 Use device_t, &c. Convert to use CFATTACH_DECL_NEW (no softc). 2008-03-27 00:42:43 +00:00
uwe
fb3a817da5 Add RCSID comment. 2008-03-27 00:32:58 +00:00
uwe
30cb91aa35 Split device_t and softc. Use aprint_*. 2008-03-27 00:31:06 +00:00
uwe
9c577c1e80 Use device_t. Convert to use CFATTACH_DECL_NEW. 2008-03-27 00:23:40 +00:00
cube
564b60af35 - Make sure we send a reasonable fragment size when IPSEC is configured.
Otherwise we end up sending a dubious "0" whenever we cannot find a
  proper association for the packet.
- Reset sack_newdata along with snd_nxt to avoid improper integer
  arithmetics that lead to sending data from an incorrect place in the
  stream, making it appear as corrupted.

Patch by Michael Van Elst, based on an analysis by Michael for the IPSEC
stuff and I for the SACK issue.
2008-03-27 00:18:56 +00:00
uwe
ff0e77e824 Use device_t. Convert to use CFATTACH_DECL_NEW. 2008-03-26 23:49:16 +00:00
uwe
4ad267c0da Fix R_SH_DIR32 calculation (XXX: some other relocs look wrong too).
Sync icache after module is linked.
2008-03-26 22:45:50 +00:00
xtraeme
ae33dd3e78 sme_cookie is not needed when SME_DISABLE_REFRESH is set. 2008-03-26 20:21:38 +00:00
ad
02141d72c7 - Remove uneeded splsoftnet().
- Use fd_getsock().
2008-03-26 20:08:22 +00:00
tnn
1a21682d68 Split device_t/softc for envctrl(4). 2008-03-26 19:15:49 +00:00
tnn
ebe7b38bb0 convert pcf8584 to device_t. 2008-03-26 19:14:24 +00:00
xtraeme
71c3052b91 Split device_t/softc and related cosmetic changes. 2008-03-26 18:35:17 +00:00
xtraeme
701c2ae0a3 Split device_t/softc for joy(4) and all its attachments. Also
use device_lookup_private() and related cosmetic changes.

Reviewed by cube@.
2008-03-26 18:27:07 +00:00
matt
51a43e5da8 split softc/device_t. use device_t & cfdata_t 2008-03-26 18:09:17 +00:00
matt
1338b4a803 use device_t & cfdata_t 2008-03-26 18:08:08 +00:00
matt
db44fdcd39 "split" softc/device_t. (since softc was a struct device, use a split softc
size of 0).
2008-03-26 18:06:34 +00:00
matt
5d109a29b5 split softc/device_t 2008-03-26 18:04:15 +00:00
matt
595211a098 split device_t/softc. Use aprint_*_dev and device_xname.
switch to device_lookup_private.
2008-03-26 17:50:32 +00:00
xtraeme
678337ef71 acpitz_get_zone expects now a device_t not a softc. 2008-03-26 16:48:53 +00:00
dyoung
3adac159e7 Define fkb and sfkb once instead of in both elansc_protect_text()
and elansc_protect().  Should stop GCC from complaining about an
unused variable fkb.
2008-03-26 16:45:32 +00:00
xtraeme
8bea7f6b6e Split device_t/softc for ug(4) and other related cosmetic changes. 2008-03-26 16:09:37 +00:00
dyoung
b0cfcf1f00 Use as many as two Programmable Address Regions (PARs) with 4kB
granularity to protect some of the kernel text that is not protected
by the PAR with 64kB granularity.
2008-03-26 15:49:03 +00:00
xtraeme
2be2546b16 Split device_t/softc and related cosmetic changes. 2008-03-26 15:31:59 +00:00
kiyohara
08b5f8f61c Remove printf() when VGA vendor is case Diamond and Matrox. Moreover
this printf() will make the start of CPU1 fail.  I have not understood the
reason yet.  When doing DEBUG is effective, the vender of all PCI devices
will be displayed again.  At this time, printf() doesn't support the format
like "%08x".
2008-03-26 15:09:50 +00:00
kiyohara
7bff3a9b0b We might be able to use VGA. Please comment out for line '-DCONS_SERIAL'
if you wish for it.  In that case, you will occasionally see the hoarsely
and strangely transformed character on screen. This reason cannot be
understood yet.
Default is continuously a serial console.
2008-03-26 14:56:18 +00:00
ad
9591013005 Defer processing of routing messages to a soft interrupt. These can be
generated at IPL_VM and it's not safe to call directly into the socket
layer at that level. Reviewed by matt@.
2008-03-26 14:53:14 +00:00
cube
6495be5eed Split device_t and softc, and related cosmetic changes. 2008-03-26 14:46:21 +00:00
skrll
280a563bc4 Typo. 2008-03-26 14:41:00 +00:00
kiyohara
9edbb57d26 Cleanup bebox_{enable,disable,get}_irq(). 2008-03-26 14:34:42 +00:00
ad
021b86dd4b Changes for PR kern/38291 (panic unmounting MFS /tmp):
- Reference count the mfsnode to fix an aincent bug. Only destroy when
  reference count drops to zero. In mfs_start(), busy the mount and get
  a reference to the mfsnode to prevent it disappearing while the server
  is running. If the file system is gone already, vfs_busy() will fail.
- Always destroy the bufq.
- Use a global mfs_lock for simplicity.
- Replace use of malloc/free. Fixes broken MALLOC_TYPE change.
2008-03-26 14:19:43 +00:00
ad
c496ce1a99 Update dmover fileops to compile again. From he@. 2008-03-26 13:33:58 +00:00
ad
78656b1e91 - kqueue_scan: work around problem noted by yamt@: if an event fires while
we have unlocked the kqueue to check its state, leave it queued and
  re-check later.
- knote_dequeue: fold into knote_detach since nothing else uses it.
- Note a couple more problems.
2008-03-26 13:32:32 +00:00
chris
0e8428c0f6 Remove arm32 ddb machine commands that no longer exist.
Also change widest string to traptrace as intrchain no longer exists.

Fixes port-arm/38311
2008-03-26 13:03:51 +00:00
chris
9c31e33724 Add help text to arm machine specific ddb commands.
Part of fix for port-arm/38311.
2008-03-26 13:01:13 +00:00
ad
4490d3fdcf Correct pasto in the cc_microtime defs. From tsutsui@. 2008-03-26 12:36:33 +00:00
lukem
d2075344b1 Add pam_skey so that we get behaviour similar to "pre PAM". 2008-03-26 11:31:17 +00:00
jmcneill
e72a19155e PR#38301: Add support for SMBus controllers for ATI SB600, SB700, SB800
chipsets, from Christoph Egger.
2008-03-26 11:14:33 +00:00
jmcneill
1b7a201c53 Regen for PR#38301 2008-03-26 11:13:30 +00:00
jmcneill
b564cf1560 PR#38301: Add support for SMBus controllers for ATI SB600, SB700, SB800
chipsets, from Christoph Egger
2008-03-26 11:12:43 +00:00
apb
f5c2801052 Add /* __OPTIMIZE_SIZE__ */ comments on relevant #else and #endif lines.
Also change some #ifdef to #if defined() for consistency.
2008-03-26 06:19:36 +00:00
christos
f071da976a - put const back, no reason to modify the prototype.
1. Please don't cast function pointers to (void *), use the full function
   prototype cast; this is for archs where a function pointer is not a regular
   pointer.
2. Compare pointers to NULL not 0.
2008-03-26 02:21:52 +00:00
christos
efe07f9c02 fix again 2008-03-25 23:24:38 +00:00
christos
9f2bc34fb9 bcopy does not return ptr. 2008-03-25 23:23:34 +00:00
christos
55feb339a9 fix bcopy again 2008-03-25 23:23:13 +00:00
yamt
91ae756395 - for some ports, especially for ones without pmap_growkernel,
buf_memcalc is used by bootstrap as well.  fix NULL dereference for them.
- limit kva usage for each cache to 20% of vm_map.  XXX a bit arbitrary.
- add a comment.
2008-03-25 23:21:42 +00:00
christos
8ac6bd68d8 fix bcopy prototype 2008-03-25 23:21:04 +00:00
christos
3d8daf0799 add a prototype for bcopy. 2008-03-25 23:19:51 +00:00
christos
93f951ce0d fix #ifdefs for BCOPY 2008-03-25 23:16:29 +00:00