Commit Graph

52518 Commits

Author SHA1 Message Date
sobomax
ca9093b327 Fix cdev kld example after it has been broken for year or so. Also extend list
of supported operations by example read() and write() operations.

Inspired by:    http://www.daemonnews.org/200010/blueprints.html
PR:             16173
Submitted by:   sobomax
2000-10-02 14:14:07 +00:00
ru
f35f4e93b2 A bit of indentation reformatting. 2000-10-02 13:13:24 +00:00
dwmalone
dd56a66e3b Make reconfiguring an external service as builtin service work.
PR:		21650
Submitted by:	ben
Tested by:	dan@ducky.nz.freebsd.org
2000-10-02 12:08:27 +00:00
dwmalone
3358eb5136 Stop internal ident service spinning until the timeout if the
connection goes away. Spotted by people on -STABLE about 2 weeks
ago.

Submitted by:	Based on a patch by alfred and Maxime Henrion <mux@qualys.com>
2000-10-02 12:04:17 +00:00
itojun
aad2f4fe75 fix ordering of NetBSD 1.3 (sync with NetBSD share/misc/bsd-family-tree). 2000-10-02 11:26:59 +00:00
bp
a9effa9b45 Move KASSERTs which checks value of v_usecount after vnode locking, so
it will not produce wrong alarms.
2000-10-02 09:57:06 +00:00
bp
af5c59dc4f Protect hash data with lock manager instead of home grown one.
Replace shared lock on vnode with exclusive one. It shouldn't impact
perfomance as NCP protocol doesn't support outstanding requests.

Do not hold simple lock on vnode for long period of time.

Add functionality to the nwfs_print() routine.
2000-10-02 09:49:04 +00:00
bp
72e68d3b76 Get rid from the legacy __P() macro. Remove 'register' keywords. 2000-10-02 09:29:59 +00:00
bp
63c8580965 Remove duplicate SYSCTL_NODE() declaration. Kernel linker can't deal
with it well.
2000-10-02 09:10:22 +00:00
iwasaki
cbe743540c Fix StallOp implementaion. I've noticed that StallOp corresponds to
OsdSleepUsec(), SleepOp corresponds to OsdSleep() by reading ACPICA
source code.
 - Add OsdSleepUsec() which uses DELAY() simply.
 - Change unit of acpi_sleep() argument; microseconds to milliseconds.
2000-10-02 08:58:50 +00:00
kato
4f4f698466 Merged from sys/i368/i386/machdep.c revision 1.413. 2000-10-02 08:57:21 +00:00
kato
5ef2146972 Merged from sys/conf/files.i386 revision 1.332. 2000-10-02 08:51:45 +00:00
peter
b3d203b392 Change "building the standard ${LIB} library" to "building the static
${LIB} library".  "standard" tends to imply the one that is normally
used... but by default it is not the case - the .so would be the
"standard" library.  Therefore, change this to 'static'.  Another option
might be "conventional ${LIB} library".
2000-10-02 08:48:49 +00:00
peter
3810721c04 Really fix the struct callout collision. AMD does not need to
#include <sys/mbuf.h>.  (which #include's <machine/mutex.h> and then
<sys/proc.h> and then <sys/callout.h>, leading to the collision).
<sys/mbuf.h> is really one of those 'no user servicable parts inside'
things.
2000-10-02 08:31:20 +00:00
peter
e2db019ad2 Regenerated. There are a bunch of changes from this round of ./configure
but none of them are used or make any difference (at least in the FreeBSD
version).
2000-10-02 07:27:50 +00:00
msmith
aff4e84016 Fix EVENTHANDLER_FAST_DEREGISTER 2000-10-02 07:14:02 +00:00
msmith
2c511bc364 Treat %X the same as %x (not entirely correct, but close enough). 2000-10-02 07:13:10 +00:00
msmith
2922dcb255 Move the i386 PCI attachment code out of i386/isa back into i386/pci.
Split out the configuration space access primitives, as these are needed
elsewhere as well.
2000-10-02 07:11:13 +00:00
peter
a152a7ef82 Merge changes from 1.10.7 -> 1.11 into mainline. Note that the old
anoncvs no-password hack is gone and is replaced by the official version.
2000-10-02 06:43:58 +00:00
peter
e0aa09eb34 This commit was generated by cvs2svn to compensate for changes in r66525,
which included commits to RCS files with non-trunk default branches.
2000-10-02 06:33:59 +00:00
peter
590c411955 Import cvs-1.11 onto vendor branch. 2000-10-02 06:33:59 +00:00
peter
991f1fafc7 PDIRUNLOCK now exists on FreeBSD. Remove the (now incorrect) redefinition. 2000-10-02 04:47:19 +00:00
billf
bdb732a321 Add new fields for more granularity:
IP: version, tos, ttl, len, id
	TCP: seq#, ack#, window size

Reviewed by:  silence on freebsd-{net,ipfw}
2000-10-02 03:33:31 +00:00
peter
a4b042e9d1 Put on my nuclear-grade asbestos suit and cvs rm the old, broken, sound
drivers (again).  These drivers have not compiled for 5-6 months.
Now that the new sound code supports MIDI, the major reason we had for
reviving it is gone.  It is a far better investment polishing the new
midi code than trying to keep this on life support.  Come 5.0-REL, if
there are major shortcomings in the pcm sound driver then maybe we can
rethink this, but until then we should focus on pcm.

Remember, these have not been compilable since ~April-May this year.
2000-10-02 03:13:50 +00:00
billf
e80d3292ca Add new fields for more granularity:
IP: version, tos, ttl, len, id
	TCP: seq#, ack#, window size

Reviewed by:	silence on freebsd-{net,ipfw}
2000-10-02 03:03:31 +00:00
bmah
18fd693342 Fix omission: CD-ROMs can be ordered for 4.x-RELEASE, not just 4.0-RELEASE.
Submitted by:	rosti@netvision.net.il
2000-10-02 00:46:25 +00:00
archie
bc3a00b59c Add definition for PCIS_SERIALBUS_SMBUS PCI device subclass.
Remove cut & paste leftovers.
2000-10-02 00:41:43 +00:00
archie
1a40bfc378 Add reference to file /usr/share/examples/netgraph/ether.bridge. 2000-10-01 21:17:27 +00:00
archie
752ee38893 Script showing how to setup Ethernet bridging using ng_bridge(4). 2000-10-01 21:14:14 +00:00
gibbs
205e8a1a92 ahc_set_transaction_status() takes an SCB. This makes it difficult to
use this helper function to report an error when SCB allocation fails.
2000-10-01 20:56:44 +00:00
gshapiro
536d3155f3 Add missing FreeBSD-only flag to the usage statement. 2000-10-01 16:32:16 +00:00
alex
e3c50d5728 * Some freebsd.org -> FreeBSD.org fixes.
* The next -stable release is 4.2, not 4.1.
2000-10-01 13:30:15 +00:00
sanpei
451ab62921 fix some minor problem in PIOCSRESOURCE ioctl.
- If resource which was allocated for pcic was
  requested via this ioctl, bus_alloc_resource
  would be succeeded and that resource was
  returned as free resource.  So check whether
  requested resource was used for pcic or not
  before bus_alloc_resource test.

- merge SYS_RES_IRQ routine into other SYS_RES_*
  routine and clean up.

problem reported by:	Yohei Terada <terada@jiro.c.u-tokyo.ac.jp>
2000-10-01 12:36:14 +00:00
itojun
0d0ba5ba00 add missing \n. sync with kame. 2000-10-01 10:59:02 +00:00
peter
432c7cf945 Fix the no-pci case of attaching isa, eisa and mca devices.
device_add_child() is meant to be called by the bus add_child method, not
to replace the bus add_child method.  We could have called nexus_add_device
directly too, that would have also worked.

PR:		21657
Tested by:	markm
2000-10-01 09:34:55 +00:00
iwasaki
7e501d2902 Remove ACPI_NO_OSDFUNC_INLINE option from kernel configuration. Now
that it's enabled in acpireg.h only if DIAGNOSTIC option is specified.
ACPICA OSD functions will be compiled in machine/acpi_machdep.c again
tentatively (if DIAGNOSTIC option is specified).
# Should we have acpica_osd.c ?
2000-10-01 08:17:47 +00:00
iwasaki
e7b7f95957 One more update against header file name changing. 2000-10-01 06:55:17 +00:00
sanpei
701496ed36 use ``config auto'' for COREGA EtherII PCC-T. 2000-10-01 05:50:18 +00:00
gshapiro
c2a5456256 sendmail 8.11.1 imported 2000-10-01 02:11:43 +00:00
gshapiro
ab882db722 Update FreeBSD import information after sendmail 8.11.1 import 2000-10-01 02:06:00 +00:00
gshapiro
1bbf49b55a Fix conflicts from merge of sendmail 8.11.1 2000-10-01 02:03:50 +00:00
gshapiro
0cc8aac437 This commit was generated by cvs2svn to compensate for changes in r66494,
which included commits to RCS files with non-trunk default branches.
2000-10-01 01:49:02 +00:00
gshapiro
f84ac9120c Import of sendmail version 8.11.1 into vendor branch SENDMAIL with
release tag v8_11_1.

Obtained from: ftp://ftp.sendmail.org/pub/sendmail/
2000-10-01 01:49:02 +00:00
gshapiro
7864dfec2e Remove Build files -- they rely on the devtools system which isn't imported
(or used)
2000-10-01 01:22:44 +00:00
iwasaki
e50592ac57 - Add acpi_disable_events() and set it with EVENTHANDLER_REGISTER in order to
avoid power on again problem after acpi_soft_off() calling.
 - Implement SleepOp/StallOp in AML interpreter.  Also provide ACPICA
   compatibility.
 - Minor changes on __inline function declaration in acpica_osd.h
   (obtained from NetBSD porting).
2000-09-30 22:37:24 +00:00
msmith
017c58324c Update include paths for new header locations.
Submitted by:	iwasaki
2000-09-30 20:13:57 +00:00
msmith
43b494595e More updates to the ACPI code:
- Move all register I/O into acpi_io.c
 - Move event handling into acpi_event.c
 - Reorganise headers into acpivar/acpireg/acpiio
 - Move find-RSDT and find-ACPI-owned-memory into acpi_machdep
 - Allocate all resources (except those detailed only by AML)
   as real resources.  Add infrastructure that will make adding
   resource support to AML code easy.
 - Remove all ACPI #ifdefs in non-ACPI code
 - Removed unnecessary includes
 - Minor style and commenting fixes

Reviewed by:	iwasaki
2000-09-30 20:12:27 +00:00
wilko
8cc643d7ff document support for ed(4) on alpha.
Submitted by:	alex
2000-09-30 20:01:09 +00:00
obrien
a7723ee793 The `ed' NIC driver has been changed to work on Alpha now. So enable it
on all platforms.

Submitted by:	Alexander Langer <alex@big.endian.de>
2000-09-30 18:23:32 +00:00
dfr
fdfd00f78b Next round of ia64 work, including fixes to context switching,
implementing cpu_fork(), copy*str(), bcopy(), copy{in,out}(). With these
changes, my test kernel reaches the mountroot prompt.
2000-09-30 17:48:44 +00:00