Commit Graph

140829 Commits

Author SHA1 Message Date
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
jmc
cc925ba123 Create version.texi using the same scheme am-utils natively does. i.e. from
the date/timestamp of the am-utils file and using mdate-sh
2005-10-27 19:03:58 +00:00
jmc
2ab5e7c4d7 Move ncdcs to mi 2005-10-27 17:51:48 +00:00
jmc
37d5cb74fc Nuke only md man page in existance (which requires special casing set sharing
for man.tgz unnecessarily)
2005-10-27 17:43:07 +00:00
jmc
16d1b947b8 Build ncdcs on everything. Allows better set sharing (and we don't exclude
other 'system specific' binaries from other builds ala sunlabel, etc)
2005-10-27 17:39:35 +00:00
wrstuden
d68d1b14ad Tweak non-device-file discussion of blkno units. 2005-10-27 16:08:48 +00:00
simonb
7dbaeb74a5 Sprinkle some KNF. 2005-10-27 01:43:48 +00:00
uwe
a0b356b644 Document pmc_get_counter_type and pmc_process_exit. 2005-10-27 01:25:09 +00:00
uwe
6f167bd3a0 Document PMC_INFO_CPUCTR_TYPE. 2005-10-27 01:10:09 +00:00
uwe
bf5bead380 We need to init p_md.md_flags on fork, so implement cpu_proc_fork(). 2005-10-27 00:36:16 +00:00
wrstuden
6eb892ae53 Adjust discussion of blkno's units to describe the units for
blkno for non-special files. Per comments from yamt at.
2005-10-27 00:05:03 +00:00
uwe
3fe7beb89b DIAGNOSTIC code should not whine about software traps 0x90..0x9f that will
never be specified and thus are free for ABI conforming programs to use.
2005-10-27 00:04:55 +00:00