tsutsui
48c586e2b6
According to the new mips3_cp0_count_read() based delay(9),
...
NEC-JC94 seems to have 200MHz clock, not 150MHz.
2005-10-30 04:35:49 +00:00
tsutsui
49b8c2626d
- use mips3_cp0_count_read() for delay(9).
...
- delay(9) should take unsigned int, not int.
2005-10-30 04:34:03 +00:00
tsutsui
c0caafab2b
Set up ci_cpu_freq, ci_cycles_per_hz and ci_divisor_delay in curcpu()
...
from platform->clock.
2005-10-30 04:31:22 +00:00
dyoung
b894baa422
boot-load-size, the number of load sectors for the boot image, is
...
not yet, and will not be, supported.
2005-10-30 03:52:03 +00:00
dyoung
397d1928f2
Cosmetic: add temporary variables for lengthy, repeated clauses
...
like 'default_entry->entry_data.IE'. KNF.
2005-10-30 03:50:54 +00:00
dyoung
f112f0b6d9
Remove invisible whitespace at ends of lines that disrupted my
...
speedy cursor-movement habits in vi.
2005-10-30 03:10:28 +00:00
mjl
7c7f1fe0ab
Typos, duplicate words, consistent formatting.
2005-10-29 22:49:36 +00:00
mjl
4866f93355
Remove trailing spaces, double spaces between words, fix some typos.
2005-10-29 22:35:41 +00:00
jdc
14eb3fca0f
Don't drop to ddb in the default case if ddb.onpanic is 0.
...
OK'd by martin@.
2005-10-29 21:18:28 +00:00
martin
417e934595
We use gcc's crtstuff now - update this acordingly (thanks to
...
Nick Hudson for instructions)
2005-10-29 20:43:35 +00:00
martin
35f890192b
Oops, forgot this when switching v9 -> ultrasparc as default -mcpu
2005-10-29 20:40:45 +00:00
martin
c66ae167ce
Initialize error return value.
2005-10-29 19:19:38 +00:00
tshiozak
1beef8fe93
fix lib/31874.
...
- add _citrus_stdenc_get_state_desc() interface to get
encoding-scheme-independent encoder/decoder state descriptions.
- make sure that iconv_std module uses it to judge whether the last
sequences forms complete shift sequences.
- bump minor of i18n_module because of get_state_desc().
2005-10-29 18:02:04 +00:00
jmcneill
4b8daa06de
Wow, this is clearly wrong (found in esa_set_params):
...
if (p->channels < 1 && p->channels > 2)
return EINVAL;
Change the 'and' to an 'or' so the check actually does something.
2005-10-29 17:44:34 +00:00
rpaulo
2b6672222b
regen
2005-10-29 17:18:40 +00:00
rpaulo
b2880bdd35
Add Creative Labs's Notebook Optical Mouse.
2005-10-29 17:18:08 +00:00
mjl
6b25b3147c
Correct typos.
2005-10-29 17:04:10 +00:00
martin
b09509e102
Switch gcc's default for sparc64 from cpu=v9 to cpu=ultrasparc.
2005-10-29 16:40:24 +00:00
christos
44545da4e2
Fix more debug const fallout from Hauke Fath.
2005-10-29 16:34:19 +00:00
yamt
9a01903be3
correct SADB_X_MIGRATE. pointed by Francis Dupont.
2005-10-29 15:05:13 +00:00
yamt
fd96f3e9ea
pull splraiseipl() from newlock branch.
2005-10-29 14:38:51 +00:00
yamt
0c66e9687c
fix kmem grovellers.
2005-10-29 14:16:45 +00:00
yamt
b9269a5f4f
don't reset interface on rx overrun because it makes
...
the situation worse, if the overrun is merely a symptom of heavy load.
increament if_ierrors instead. PR/29831.
2005-10-29 13:24:41 +00:00
yamt
dd80ddaf14
just use ltsleep rather than lockmgr + PCATCH with horrible timeout dance.
2005-10-29 12:31:07 +00:00
yamt
c14bdacc17
MALLOC/FREE -> malloc/free where appropriate.
2005-10-29 12:26:37 +00:00
scw
9877d180a5
Re-arrange a bitfield according to host byte-order.
2005-10-29 12:03:44 +00:00
yamt
59246ac4e1
fix compilation problem in the previous when !defined(DIAGNOSTIC).
...
pointed by xtraeme@.
2005-10-29 11:49:01 +00:00
yamt
428a59477a
physio: make requests with large buffers faster,
...
by queueing more i/o simultaneously.
2005-10-29 11:23:19 +00:00
yamt
8d3549ebb0
add something like pthread_once().
2005-10-29 11:13:21 +00:00
yamt
54f971f435
add a simple "do it in thread context" framework.
2005-10-29 11:10:37 +00:00
yamt
0416d5be24
add splraiseipl().
2005-10-29 11:07:45 +00:00
scw
aee1af1ef4
Expunge an extraneous bus_dmamap_sync() call in iwi_frame_intr(). The entire
...
frame has already been sync'd by iwi_rx_intr().
2005-10-29 11:00:17 +00:00
scw
b6845ed55f
- Use the DMA map size when calling bus_dmamap_sync(), instead of
...
blindly assuming MCLBYTES will DTRT.
- Use bus_dmamap_load_mbuf() instead of bus_dmamap_load() where
appropriate.
- If we have to coalesce a Tx mbuf chain comprised of more than IWI_MAX_NSEG
segments, allocate a cluster iff the payload won't fit in the header.
2005-10-29 10:48:02 +00:00
skrll
22049753c1
Don't byte swap unnecessarily in iwi_read_prom_word. Fix the user instead.
2005-10-29 08:44:28 +00:00
scw
76bcd7f008
./usr/sbin/iwictl is now mi.
2005-10-29 08:17:18 +00:00
scw
1c2b41ea59
iwi(4) and iwictl(8) are no-longer restricted to the i386 platform.
2005-10-29 08:15:46 +00:00
scw
04ec36f7d6
Fix compilation for non-x86 platforms: s/int/size_t/ in struct firmware.
2005-10-29 08:14:27 +00:00
scw
842139fe29
Support big-endian hosts:
...
- Always byte-swap data read from EEPROM.
- Byte-swap firmware image when host is big-endian.
In iwi_tx_start():
- Fix descriptor initialisation bogon (only problematic on big-endian hosts).
- Fix bus_dmamap_sync() 'len' parameter..
2005-10-29 08:10:38 +00:00
dyoung
d4d99b79c1
The system type mac68k is also allowed.
...
XXX Is that correct?
2005-10-28 21:55:18 +00:00
christos
57e242fa1e
PR/31942: Hauke Fath: -current DEBUG kernel build fails because of gcc whining
2005-10-28 21:54:52 +00:00
dyoung
c286f15e25
Correct strcmp(3) usage (expect equal -> 0).
2005-10-28 21:54:21 +00:00
dyoung
21326b0d23
Synchronize documentation with utility.
2005-10-28 21:52:36 +00:00
dyoung
33c7871577
Use LIST_ macros instead of accessing list structure members lh_first
...
and le_next directly.
2005-10-28 21:51:35 +00:00
christos
daf2726a5c
- delete ugly debugging crap.
...
- remove bogus multicast handling [pointed out by thorpej]
and don't reset the chip on ENETRESET; ENETRESET is a sign
that only the multicast filter needs changing.
2005-10-28 20:56:13 +00:00
christos
e30fd207ff
use ap->a_flags instead of fl->f_type; pointed out by: Devon H. O'Dell
2005-10-28 15:37:23 +00:00
christos
17f31a8395
forgot to commit this.
2005-10-28 14:36:15 +00:00
christos
ffd31cc9b5
According to thorpej, we don't need to stop when we attach. But then again
...
we don't detach yet...
2005-10-28 13:20:55 +00:00
yamt
54007a40c0
remove duplicated spllpt().
2005-10-28 10:34:18 +00:00
christos
dd3b850e80
From FreeBSD:
...
- make a few functions static
- introduce gem_bitwait() to factor out some of the register wait code.
- add gem_stop() in attach
- some DEBUG should be GEM_DEBUG
- handle underrun, packet too long, and overflow errors by resetting the chip
- add handler in ioctl for add/del multi
- fix typo
Also:
- add a shadow sc_if_flags member so that we don't reset the chip if we
don't need to.
2005-10-28 00:01:53 +00:00
martin
eb8540417a
Follow the lead of the sparc port:
...
- move md_flags back to mdproc, because we only have per-proc flags
currently
- implement cpu_proc_fork() to init p_md.md_flags on fork
2005-10-27 20:43:30 +00:00