Commit Graph

141349 Commits

Author SHA1 Message Date
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
yamt 78e012015b add some #if 0'ed out SADB_X_* definitions found in kame tree
to avoid conflicting numbers.
2005-10-25 06:12:49 +00:00
wiz cb875aba7d New sentence, new line. 2005-10-25 02:27:18 +00:00
wiz acaf0263d7 Fix a typo. 2005-10-25 02:25:32 +00:00
dyoung 689c61f61d Overhaul makefs -t cd9660.
Functional: Do not add a missing period or a version number to
            directories, since that doesn't fit the standard (thanks
            Daniel Watt).

            Add RRIP PX records (POSIX meta-information) to '.'
            and '..' entries.  Quiets kernel complaint, when we
            mount a cd9660 filesystem, that there is a missing PX
            entry.

Cosmetic: Reduce height of staircases.  Remove an unused member
          from struct _cd9660node.  Extract a subroutine.  KNF.

          Use a TAILQ macros for lists of both SUSP/RRIP attributes
          and directory entries.

XXX
XXX The new RRIP PX entries are not quite right.
XXX
2005-10-25 02:22:04 +00:00
jdolecek bb7b3655f0 constify 2005-10-24 16:31:54 +00:00
cube 75d561e358 Move prototypes for siginfo32 to/from siginfo converters at the right
place.
2005-10-24 15:28:09 +00:00
hannken 366a53ff0c Run all i/o from or to backing store through fss_bs_io().
Replace VOP_BMAP()/VOP_BALLOC() by vn_rdwr()/VOP_PUTPAGES().

Inspired by discussion on tech-kern@
2005-10-24 14:25:06 +00:00
simonb 0dc198a64d Add a "/* !_SYS_TIMEVAR_H_ */" comment to the #endif at the bottom
of this file.
2005-10-24 13:43:27 +00:00
christos f3c42fa4d4 Don't assume that fts(3) will add a slash to the name. From Steve Woodford.
KNF.
2005-10-24 13:17:22 +00:00
kleink fd4c891ff8 Remove the "" -> "." target conversion kludge. 2005-10-24 12:59:07 +00:00
christos 6f981830a9 PR/31905: Wolfgang Stukenbrock: Termios ioctls TIOCMBIC and TIOCMBIS missing
in linux emulation code
2005-10-24 12:58:34 +00:00