Commit graph

52405 commits

Author SHA1 Message Date
Søren Schmidt 11b944d47a Cleanup the chipset specific interrupt code a bit. 2000-10-05 08:28:06 +00:00
Sheldon Hearn cf86636803 Add James Housley's official IANA assigned numbers for healthd.
Requested by:	jeh
2000-10-05 07:36:59 +00:00
Sheldon Hearn 803516cb70 Mention pccard_beep.
Requested by:	sanpei
2000-10-05 07:22:58 +00:00
Sheldon Hearn 2687ca9f97 Fix abuse of the Pa, Nm and Ar macros. This necessitated a rewording
of the description for the "power" internal command.

Reviewed by:	sanpei
2000-10-05 07:18:59 +00:00
David E. O'Brien a8730a56d3 This change adds:
/boot/GENERIC/kernel
    /boot/kernel/kernel
    /boot/kernel/*.ko
and removes:
    /kernel.GENERIC
from the bin dist.

Approved by:	jkh
2000-10-05 06:51:56 +00:00
Justin T. Gibbs b1721cfbfd Correct pedantic errors in arrays generated by the assembler (trailing
comma in array declarations).

Output a constant indicating the number of critical section entries
in the firmware.
2000-10-05 04:25:42 +00:00
Justin T. Gibbs a49630ac82 Convert the driver to use a single DMA for fetching new commands instead
of two (one to access the circular input fifo, the other to get the SCB).
This costs us a command slot so the driver can now only queue 254
simultaneous commands.

Have the kernel driver honor critical sections in sequencer code.

When prefetching S/G segments only pull a cacheline's worth but
never less than two elements.  This reduces the impact of the
prefetch on the main data transfer when compared to the 128
byte fetches the driver used to do.

Add "bootverbose" logging for transfer negotiations.

Correct a bug in ahc_set_syncrate() that would prevent an update
of the sync parameters if only the ppr_options had changed.

Correct locking for calls to ahc_free_scb().  ahc_free_scb() is no
longer protected internally to simplify ports to other platforms.

Make sure we unfreeze our SIMQ if a resource shortage has occurred
and an SCB is been freed.

ahc_pci.c:
	Turn on cacheline streaming for all controllers that support it.

	Clarify diagnostic messages about PCI interrupts.
2000-10-05 04:24:14 +00:00
Justin T. Gibbs bb9c344ff7 Correct the dependency for aicasm. 2000-10-05 04:07:06 +00:00
Kris Kennaway 7524a0790d * Buffer-safe string function cleanup. There are a couple of strcpy()
and strcat()s which would be more difficult to fix, but I think they're
  safe anyway.
* Don't crash at runtime by overflowing a buffer with constant data in
  print-icmp.c on a long hostname.
* Don't overflow a static buffer by trying to decode an AFS ACL into a buffer
  which is way too small for it.

Reviewed by:    -audit
2000-10-05 02:49:49 +00:00
Warner Losh 1e3661ab60 display.c: sprintf -> snprintf
top.c: fix from NetBSD/OpenBSD: make sure that new_message() is called
with a format.

Add $FreeBSD$ While I'm here.

These files are already off the vendor branch.
2000-10-04 23:34:16 +00:00
Jun-ichiro itojun Hagino 41b3e8e5bf make sure we have root priv on SIOCSIFPHY*. from thorpej@netbsd 2000-10-04 23:16:29 +00:00
Wilko Bulte 7f197ebfd5 Got an IDE disk to work on Multia. Document how & what 2000-10-04 22:15:25 +00:00
Bruce A. Mah 88646dd7c1 New info for ata(4) driver: Tagged queueing via ATA_ENABLE_TAGS,
support for ServerWorks ROSB4 ATA33, CMD 648 ATA66 and CMD 649 ATA100,
and Cyrix 5530.
2000-10-04 20:41:32 +00:00
Wilko Bulte b1242235da Multia seems to use different sound chips. Until now only the Crystal
Sound based one works for me.
2000-10-04 20:25:19 +00:00
Brian Somers 944fae23f3 Add a unaligned_print option (alpha only)
Document osf1_enable

Submitted by:	Eric D. Futch <efutch@nyct.net>
PR:		21649
2000-10-04 18:58:46 +00:00
Doug Rabson 8d9761debf Next round of fixes to the ia64 code. This includes simulated clock and
disk drivers along with a load of fixes to context switching, fork
handling and a load of other stuff I can't remember now. This takes us as
far as start_init() before it dies. I guess now I will have to finish off
the VM system and syscall handling :-).
2000-10-04 17:53:03 +00:00
Bruce A. Mah f94b5cf2c3 Note that fingerd(8), rlogind(8) and rshd(8) are disabled by default
on new installs.
2000-10-04 17:47:01 +00:00
Doug Rabson c9b004775d Add a workaround for statically linked kernels. 2000-10-04 17:40:24 +00:00
MIHIRA Sanpei Yoshiro 6b164dd5b7 check {IO,IRQ}_ASSIGNED flags before
release {io,irq} resources.

fix multi io window in release io routine

PR:		20454
2000-10-04 15:22:09 +00:00
Søren Schmidt 9b09a33635 Fix the MASTERDEV breakage the caused the PIIX controllers to get
missed in the probe. This might break the CMD chips again, more
testing is needed on that, but we need the mainstream chips to
work again ...
2000-10-04 08:28:37 +00:00
Ruslan Ermilov 507c85be96 Respect the protocol when looking the port up by service name.
PR:		21742
2000-10-04 07:59:19 +00:00
Kris Kennaway fecb6ab363 Disable rsh and rlogin by default. ssh and telnet are still available for
remote access on default installations.
2000-10-04 07:56:16 +00:00
David E. O'Brien 229edd6df7 Only install secondary components if the destination directory exists.
This may be a WIP, but `make release' needs it sooner than later.
2000-10-04 07:20:24 +00:00
Robert Watson 9de54ba513 o Add call to ufs_extattr_uepm_destroy() in ffs_unmount() so as to clean
up lock on extattrs.
o Get for free a comment indicating where auto-starting of extended
  attributes will eventually occur, as it was in my commit tree also.
  No implementation change here, only a comment.
2000-10-04 04:44:51 +00:00
Robert Watson d32d56a07d o Correct use of lockdestroy() by adding a new ufs_extattr_uepm_destroy()
call, which should be the last thing down to a per-mount extattr
  management structure, after ufs_extattr_stop() on the file system.
  This currently has the effect only of destroying the per-mount lock
  on extended attributes, and clearing appropriate flags.
o Remove inappropriate invocation in ufs_extattr_vnode_inactive().
2000-10-04 04:41:33 +00:00
Jason Evans a18b1f1d4d Convert lockmgr locks from using simple locks to using mutexes.
Add lockdestroy() and appropriate invocations, which corresponds to
lockinit() and must be called to clean up after a lockmgr lock is no
longer needed.
2000-10-04 01:29:17 +00:00
Jason Evans 645b8b81f0 Reduce userland namespace polution. 2000-10-04 01:21:58 +00:00
Jason Evans d389654761 Fix spelling error ("exits" should be "exists"). 2000-10-04 01:20:49 +00:00
Brian Somers 4682f420f2 Implement the <> redirection operator. 2000-10-03 23:13:14 +00:00
Mark Ovens b6cd2dbdc5 Change macros Em -> Dv.
Also removed hard sentence breaks introduced in my last commit.

Suggested by:	sheldonh
2000-10-03 22:51:27 +00:00
Alan Cox 6464c1fe0d Remove another unused field from struct __aiocb_private. 2000-10-03 21:43:55 +00:00
Bruce A. Mah c27b5de4de Note that the pcn(4) driver supports the PCnet/PRO cards, and MFC. 2000-10-03 21:24:07 +00:00
Wilko Bulte d6a31f4715 Re-phrase wording on Multia burnout. Add section on Multia sound.
Suggested by: obrien
2000-10-03 20:55:51 +00:00
Brian Somers fd845ee4c3 o Load netgraph.ko, ng_ether.ko and ng_pppoe.ko as required (I'm sure this
used not to be necessary).
o Allow ``-n ngdebug'' to specify something to pass to NgSetDebug()
  and redirect NgSetDebug() output to syslog(8) in daemon() mode.
o Xref ng_ether(8) and NgSetDebug(4).
o Correct the type of the response passed to NgRecvData.
2000-10-03 20:41:00 +00:00
David E. O'Brien 32002b3434 Blah rev 1.208 got bits of the proposed "I want the file /kernel to be
the kernel" patch.

This commit is only the "Do not prepend `DESTDIR' to `KMODDIR' as
sys/conf/kmod.mk already does that for us" change.
2000-10-03 20:09:51 +00:00
David E. O'Brien e48c56aeb6 Do not prepend DESTDIR' to KMODDIR' as sys/conf/kmod.mk already does
that for us.
2000-10-03 20:05:36 +00:00
Wilko Bulte 47c407bf6d Update section on Multia now that I have a few of my own to dissect.. 2000-10-03 19:38:32 +00:00
Bill Paul 41f7d2d51b Add the pcn device to NEWCARD and NOTES. 2000-10-03 18:30:15 +00:00
Bill Paul e0b8bc252f Add support for the AMD Am79c976 PCnet/PRO controller chip. For now
this just involves adding the chip ID to the supported list: the PCnet/PRO
is compatible with the PCnet/FAST+ and friends and should "just work"
with this driver.

Also try to handle mbuf allocation failures in the receive handler
more gracefully.
2000-10-03 18:11:36 +00:00
Søren Schmidt c8c827cc94 add ATA_ENABLE_TAGS option 2000-10-03 18:06:24 +00:00
Ruslan Ermilov d2ba10a92f Replaced unsafe use of sprintf() with snprintf(). 2000-10-03 17:05:02 +00:00
Søren Schmidt e1c3363398 We do not support RLL/MFM/ESDI controllers... 2000-10-03 15:42:38 +00:00
Søren Schmidt 6a0bf19b38 Update with all the new chipsets.. 2000-10-03 15:29:44 +00:00
Søren Schmidt a9763f0a52 Add ATA_ENABLE_TAGS options description 2000-10-03 15:00:11 +00:00
Jun-ichiro itojun Hagino c50aa2bcef make pr_type type meet with struct protosw. sync with kame 2000-10-03 13:39:49 +00:00
KATO Takenori 32c0e11c56 Merged from sys/i386/i386/machdep.c revision 1.414. 2000-10-03 13:27:31 +00:00
Poul-Henning Kamp bd39966d9b Make the output of mtree(8) more systematic and machine readable.
The new format is:

        filename        {changed,missing,extra}
                $field expected $foo found $bar
                ...

Fix various bugs along the way:
        Don't complain about directory sizes differing.
        Correctly check flags.
2000-10-03 13:13:47 +00:00
Søren Schmidt 162080b465 Add support for ServerWorks ROSB4 ATA33 chipset.
Add support for CMD 648 ATA66 & CMD 649 ATA100 chipsets.

Fix the "resource already allocated" panic with the CMD and other
braindead controllers.

Add options ATA_ENABLE_TAGS, without this option tagged queuing will
not be attempted.
2000-10-03 13:12:36 +00:00
Ruslan Ermilov 60f9125458 Added the missing ntohs() conversion when matching IP packet with
the IP_FW_IF_IPID rule.  (We have recently decided to keep the
ip_id field in network byte order inside the kernel, see revision
1.140 of src/sys/netinet/ip_input.c).

I did not like to have the conversion happen in userland, and I
think that the similar conversions for fw_tcp(seq|ack|win) should
be moved out of userland (src/sbin/ipfw/ipfw.c) into the kernel.
2000-10-03 12:18:11 +00:00
Yoshihiro Takahashi 10d5f4e72e Don't use bus_get_resource() and bus_get_resource_start() functions if
bus_alloc_resource() failed. So, error messages are changed more simply.

Suggested by:	"Matthew N. Dodd" <winter@jurai.net>
2000-10-03 11:47:34 +00:00