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
uwe
05fa81f9b0
Report T_RANGECHECK as ILL_ILLOPN.
2005-10-26 23:41:56 +00:00
uwe
ab5d782da8
Move md_flags back to mdproc. MDP_FIXALIGN, the only flag we have, is
...
per-process, not per-lwp. We don't have per-lwp flags currently.
2005-10-26 23:21:47 +00:00
riz
2a0a441743
Note netbsd-2-1 branch.
2005-10-26 23:09:32 +00:00
uwe
060dedbbf7
Comment change: Clarify meaning of some user traps.
2005-10-26 22:37:18 +00:00
elad
2fc1513987
The emulation for these should be "native", not "netbsd".
...
Noted by Ray Lai.
2005-10-26 21:17:23 +00:00
uwe
29511150ab
Add missing extern to make the definition of softnet_cookie into a declaration.
2005-10-26 21:11:05 +00:00
uwe
7781633361
Cosmetic. Kill __P. Remove few remaining paramter names in
...
prototypes. CONSTCOND in while (0). Move wcopy/wzero declarations
with the rest of machdep.c. Add some blank lines for readability.
2005-10-26 20:52:33 +00:00
rpaulo
89c0260a2e
s/SYNAPTICS_DEBUG/SYNAPTICSDEBUG/ to keep consistency.
2005-10-26 17:20:19 +00:00
macallan
9a4155718f
Add include pathc for fb, render and xaa
2005-10-26 10:56:44 +00:00
chs
0a185981ab
in sa_switch(), if after we set up the LWP with cpu_setfunc(), we decide that
...
we can't do an SA context switch after all, we need to clear the sau from
the LWP's arg. sa_switch() frees the sau in this case, but if we don't
reset the LWP's state and the process exits, then the exiting LWP will
try to free the sau again.
also, change the sadebug printf stuff to use printf_nolog(), since
otherwise we deadlock because we're already holding sched_lock and
the normal printf() will try to wakeup the log reader.
2005-10-26 06:24:04 +00:00
jschauma
ea274fd69c
Rather than '-h' suppressing '-s' when using '-l', make it display
...
the blocks used in human readable form, as suggested by Alan Barrett
and Daniel Carosone.
2005-10-26 02:24:22 +00:00
uwe
5c38a3d254
sigcode is needed only for COMPAT_16.
2005-10-26 01:30:20 +00:00
christos
23dfb0b17f
eliminate unused passpromptlen and copy a default password each time we
...
don't receive one in SRA_CONTINUE.
2005-10-25 23:36:07 +00:00
uwe
0e0096c441
Compute c_totalsize for split caches correctly: it's max, not sum (and
...
we even have that documented in cache.h). Initialize c_nlines for
split caches.
This should fix srmmu cache flush routines for split I/D caches that
has been broken since cache.c revision 1.79 started using c_nlines.
2005-10-25 22:12:07 +00:00
uwe
c2ec5cfaef
Sync c_linesize and c_nlines comments with reality.
2005-10-25 22:03:43 +00:00
christos
64fe9d910c
XXX: SRA does not have a protocol feature to pass back a password prompt
...
which is needed for things like S/KEY. We abuse the SRA_CONTINUE message
passing the password prompt there. That is usually NULL, so SRA
implementations usually ignore it. While I am here, if telnet_gets() fails
[user hit <eof> for example], then we exit.
2005-10-25 22:03:34 +00:00
martin
3e4f7c877a
Add missing <sys/device.h> include.
...
XXX - this is handled inconsistently accross the ath* files, maybe we
should move it to ath_netbsd.h and be done?
2005-10-25 19:59:02 +00:00
riz
4df8bb6c9b
source is too big for multi-cd3 when pkgsrc is included; substitute
...
sgimips instead.
2005-10-25 19:43:20 +00:00
drochner
afcc05d0fe
finally nuke the useless cardbus "dev" locator
2005-10-25 16:37:50 +00:00