Commit Graph

66194 Commits

Author SHA1 Message Date
bmah
f40107317c Refer more consistently to the different FreeBSD (hardware platform)
ports.  Also use "official" names for platforms where appropriate.

Partly suggested by:	phantom
2001-10-24 16:01:40 +00:00
bmah
fb8e48b37a Add some new entities with the "official" names of the platforms
we support (as opposed to the names of ports).
2001-10-24 15:37:25 +00:00
nyan
d59e014361 Added the pmc driver which supports power management controller of
old NEC PC-98NOTE.

Submitted by:	chi@bd.mbn.or.jp (Chiharu Shibata)
MFC after:	1 week
2001-10-24 14:46:40 +00:00
jhb
db9a37a27a Fix this to actually compile in the !INVARIANTS case.
Reported by:	Maxime Henrion <mux@qualys.com>
2001-10-24 14:18:33 +00:00
robert
a6a7b0b031 Use vm_offset_t instead of caddr_t to fix a warning and remove
two casts.
2001-10-24 14:15:28 +00:00
hm
842198f766 fix kvprintf panic in attach routine 2001-10-24 14:12:47 +00:00
roam
03f3f44473 Correct a typo: numtiple -> multiple.
PR:		31474
Submitted by:	Eric Yu <ericyu@mail2000.com.tw>
MFC after:	1 week
2001-10-24 12:51:23 +00:00
cg
65134543aa fix SNDCTL_DSP_GETISPACE behaviour 2001-10-24 12:40:54 +00:00
cg
92b4270436 improve recording behaviour 2001-10-24 12:33:21 +00:00
ru
b58e003d32 Finish the removal of the LABPC driver.
Forgotten by:	phk
2001-10-24 10:57:30 +00:00
ru
cd20265637 It's safe to assume that ${.OBJDIR} == ${.CURDIR} in the
NOOBJ-hinted Makefiles.
2001-10-24 09:16:23 +00:00
marcel
c65eec68e0 Remove call to cninit_finish. This is part of the multiple
low-level console support.
2001-10-24 08:06:55 +00:00
markm
e8ffa02e85 Back out my last commit. Ruslan (ru) has a better fix. 2001-10-24 07:59:42 +00:00
marcel
ce33a29709 Add parse functions for local APIC and I/O APIC entries.
Also, show when a local APIC or SAPIC is disabled.
2001-10-24 04:48:05 +00:00
rwatson
1704b54dc9 o Note an additional potential problem here: LOCKD_MSG directly exports
struct ucred to userland.  In 5.0-CURRENT, it is desirable to instead
  export struct xucred, as ucred contains mutexes, pointers, and other
  kernel evil.  I'll add it to my work queue.
2001-10-24 02:48:38 +00:00
dillon
016be1f136 Fix ktrace enablement/disablement races that can result in a vnode
ref count panic.

Bug noticed by:	ps
Reviewed by:	ps
MFC after:	1 day
2001-10-24 01:05:39 +00:00
ache
2424501326 Back out read buffer invalidating via __SMOD.
It was correct, but not needed because internal buffer cleared on each seek
outside of it.
2001-10-23 23:52:11 +00:00
mjacob
f055c49bc3 Tra-La, another QLogic f/w funny- this time with the 2300.
If we get a completion status of RQCS_QUEUE_FULL, it means
that the internal queues are full. Other QLogic boards set
the QFULL SCSI status. But *nooooooooooo*, not the 2300.

MFC after:	1 day
2001-10-23 23:05:20 +00:00
ache
537a689a7b Change comment explaining another usage of __SMOD 2001-10-23 23:05:15 +00:00
jhb
43547b4e39 Remove if_wx.
Submitted by:	Dave Cornejo <dave@dogwood.com>
2001-10-23 22:56:41 +00:00
jhb
4ec47be8ec Document sx_assert(9). 2001-10-23 22:51:59 +00:00
ache
76a4ffc8e5 Disallow fseek() optimization in internal read buffer, if pointer is moved by
seek. It means that beginning of read buffer becomes not the same as current
file position.
2001-10-23 22:48:00 +00:00
n_hibma
f9e1c31e42 Regen. 2001-10-23 22:44:36 +00:00
n_hibma
2395275dfb Add Olympus C-700 2001-10-23 22:44:03 +00:00
jhb
4e8dde705d Change the sx(9) assertion API to use a sx_assert() function similar to
mtx_assert(9) rather than several SX_ASSERT_* macros.
2001-10-23 22:39:11 +00:00
jhb
8d38ba142e Allow hw.acpi.cpu.{economy,performance}_speed to be set from the loader
via tunables.
2001-10-23 22:37:36 +00:00
jhb
48f17fd6c7 Change TUNABLE_*_FETCH to have a return value of 0 if the variable was not
found or successfully converted and true otherwise.
2001-10-23 22:35:25 +00:00
jhb
aa79b67470 - Change getenv_quad() to return an int instead of a quad_t since it
returns an success/failure code rather than the actual value.
- Add getenv_string() which copies a string from the environment to another
  string and returns true on success.
2001-10-23 22:34:36 +00:00
jhb
507fdcfb7e Set the code and signal for the F00F hack fault directly instead of
changing the code in the trapframe and looping back to the top of trap
again.

Tested by:	cjc
2001-10-23 22:29:16 +00:00
peter
e0641b4c8a Fix RAW dependency violation when compiled with gcc-3
Warning: Use of 'br.ret.sptk.many' violates RAW dependency 'PSR.tb' (data)
2001-10-23 22:23:22 +00:00
jlemon
a73d224ef6 Add a manual page. 2001-10-23 22:13:34 +00:00
markm
88712008b0 Make sure the copies: and symlinks: targets exist in the case of the
empty ".for ..." loop.
2001-10-23 21:28:39 +00:00
jlemon
88013694b7 Hook up conscontrol to the build. 2001-10-23 20:37:07 +00:00
jlemon
b43b265d16 Add conscontrol, a front end interface for manipulating consoles. 2001-10-23 20:36:43 +00:00
bmah
ff251cef81 Clarification: &release.next; refers to a future FreeBSD release.
Submitted by:	phantom
2001-10-23 20:34:41 +00:00
jlemon
fa5eeb011c Set RB_MULTIPLE (multiple console support) if the kernel is booted
with the -D flag.
2001-10-23 20:27:48 +00:00
murray
49aab78a84 Fix typo.
PR:		docs/31388
Submitted by:	Yoshihiko Sarumaru <mistral@imasy.or.jp>
2001-10-23 20:27:06 +00:00
jlemon
66b3b14455 Allow the RBX_DUAL flag to appear in bootinfo. 2001-10-23 20:27:05 +00:00
jlemon
b7e177fee6 Implement multiple low-level console support. 2001-10-23 20:25:50 +00:00
jlemon
6a7e9433d1 Add RB_MULTIPLE flag so the bootloader can turn on mulitiple console
support.  This flag value is identical to RBX_DUAL from boot2.
2001-10-23 20:22:04 +00:00
jlemon
f2be3ef909 Add a siocnterm function for the CONS_DRIVER function vector. 2001-10-23 20:16:56 +00:00
rwatson
337c917faf o Add two comments identifying problems with the current nfs_lock.c
implementation, so that the information doesn't get lost.
  (1) /var/run/lock is looked up relative to the current thread's root
      directory, but it's not clear that's desirable.
  (2) A race condition associated with live credential modification on
      a shared credential is present when privilege is granted for
      the purposes of talking to /var/run/lock.
2001-10-23 19:11:31 +00:00
rwatson
83a8501a7c o vn_open() fails to call VOP_CLOSE() if vfs_object_create fails. Ideally
all successful calls to VOP_OPEN() might be reflected in a call to
  VOP_CLOSE().  For now, simply add a comment reflecting this problem;
  this should be fixed at some point.
2001-10-23 19:09:01 +00:00
jhb
972de970f5 Assert that Giant is not held in mi_switch() unless the process state
is SMTX or SRUN.
2001-10-23 17:52:49 +00:00
julian
13dbe953e7 Alter the suggested way of writing structurtes to make them actuallys
readble when there are compound sub-elements (e.g. other structs).

Reviewed by:	{peter,dillon,des,imp,jlemon}@freebsd.org
MFC after:	1 week
2001-10-23 17:40:37 +00:00
jhb
7157fafb71 Move the 'type' variable inside the block where it is actually used. 2001-10-23 17:31:11 +00:00
imp
151e529d3a Break out the bus front ends into their own files. Rewrite
sio_pccard_detach to use new siodetach.  Add an extra arg to sioprobe
to tell driver to probe/not probe the device for IRQs.

This incorporates most of Bruce's review material.  I'm at a good
checkpoint, but there will be more to come based on bde's further
reviews.

Reviewed by: bde
2001-10-23 15:17:33 +00:00
takawata
07757cfc52 Collect multi name handling.
Reported by :    Stephan Kulow <coolo@caldera.de>
2001-10-23 14:54:15 +00:00
brian
5106c4a534 Don't avoid setting a 0 second timer in datalink_StartDialTimer() by
not setting any timer.  Instead, set a 1 millisecond timer.

This ensures that ppp will come out of it's select() call after
losing carrier in -ddial mode with a reconnect period of 0 and
going to ST_OPENING, rather than waiting indefinitely for some
other event to wake ppp up.

Bump the ppp version number to indicate the event.

MFC after: 3 days
2001-10-23 13:52:19 +00:00
dfr
f907f56cde Partially port kvm to ia64 - virtual to physical translation is incomplete. 2001-10-23 11:05:35 +00:00