summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* An overhaul of style.9 to clear up some of the ambiguities. A number ofPeter Wemm1997-05-271-75/+92
| | | | | | | | | | things are explicitly stated now rather than being implied by example. Obtained from: Quite a few people over the last few weeks Reviewed by: core Notes: svn path=/head/; revision=26192
* sysconfig -> rc.confJordan K. Hubbard1997-05-271-6/+6
| | | | | | | Submitted by: Igor Vinokurov <igor@cs.ibank.ru> Notes: svn path=/head/; revision=26191
* YAMF22Jordan K. Hubbard1997-05-272-4/+4
| | | | Notes: svn path=/head/; revision=26189
* prevent `struct proc' from being declared inside parameter list.Philippe Charnier1997-05-271-1/+2
| | | | | | | PR: kern/3548 Notes: svn path=/head/; revision=26187
* Add support for APIC_IO to pci IRQ configuration.Steve Passe1997-05-272-2/+38
| | | | | | | | The support for APIC_IO was lost in the new set of pci modules. This patch restores the ability to build SMP/APIC_IO kernels. Notes: svn path=/head/; revision=26186
* Update Makefile to build tcpdump-3.3 .Bill Fenner1997-05-271-11/+10
| | | | | | | | PR: 3371 Submitted by: Chris Timmons <skynyrd@opus.cts.cwu.edu> Notes: svn path=/head/; revision=26185
* Get rid of the T2CHECK() macro, since it duplicates functionalityBill Fenner1997-05-271-21/+33
| | | | | | | available from TCHECK(), TCHECK2(), TTEST() and TTEST2(). Notes: svn path=/head/; revision=26184
* Merge tcpdump 3.3.Bill Fenner1997-05-2725-947/+493
| | | | | | | | | | | | The print_nfs.c changes are pretty extensive; this is partially because LBL did a lot of cleanup and partially because I removed lots of pointless changes away from the LBL style. PR: 3371 mostly-Submitted by: Chris Timmons <skynyrd@opus.cts.cwu.edu> Notes: svn path=/head/; revision=26183
* This commit was generated by cvs2svn to compensate for changes in r26180,Bill Fenner1997-05-2738-1400/+2368
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=26181
| * Virgin import of LBL tcpdump v3.3Bill Fenner1997-05-2761-1698/+2725
| | | | | | | | Notes: svn path=/vendor/tcpdump/dist/; revision=26180
* | Bump minor version number.Bill Fenner1997-05-271-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add -I${PCAP_DISTDIR}/bpf to CFLAGS since our <net/bpf.h> is out of date. Remove -Wall and -Dlint. DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 \ -DHAVE_SOCKADDR_SA_LEN=1 -DLBL_ALIGN=1 CFLAGS+=-I. -Dyylval=pcap_lval ${DEFS} SHLIB_MAJOR=2 SHLIB_MINOR=2 # # Magic to grab sources out of src/contrib # PCAP_DISTDIR?=${.CURDIR}/../../contrib/libpcap CFLAGS+=-I${PCAP_DISTDIR} -I${PCAP_DISTDIR}/lbl -I${PCAP_DISTDIR}/bpf .PATH: ${PCAP_DISTDIR} .PATH: ${PCAP_DISTDIR}/bpf/net beforeinstall: .for i in pcap.h pcap-namedb.h ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${PCAP_DISTDIR}/$i \ ${DESTDIR}/usr/include .endfor tokdefs.h grammar.c: grammar.y ${YACC} ${YACCFLAGS} -d ${PCAP_DISTDIR}/grammar.y mv y.tab.c grammar.c mv y.tab.h tok/home/ncvs/CVSROOT/commitcheck Notes: svn path=/head/; revision=26179
* | Merge libpcap 0.3Bill Fenner1997-05-277-528/+52
| | | | | | | | | | | | | | | | | | Update FREEBSD-upgrade to mention bumping library version number. Suggested-by: Chris Timmons <skynyrd@opus.cts.cwu.edu> Notes: svn path=/head/; revision=26178
* | This commit was generated by cvs2svn to compensate for changes in r26175,Bill Fenner1997-05-2732-449/+1576
|\ \ | | | | | | | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=26176
| * | Virgin import of libpcap 0.3Bill Fenner1997-05-2737-469/+1619
| | | | | | | | | | | | Notes: svn path=/vendor/libpcap/dist/; revision=26175
* | | Yet another fix for configuration mechanism 1 register accesses:Stefan Eßer1997-05-266-24/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | Adjust the data port address by adding the two low order bits of the register number. The address port takes only a word address (i.e. ignores the two low order bits written to it). Notes: svn path=/head/; revision=26174
* | | Fix previous fix: The enable bit is bit 31 (0x8000000) and not bit 15.Stefan Eßer1997-05-266-12/+12
| | | | | | | | | | | | Notes: svn path=/head/; revision=26173
* | | Set enable bit when writing the configuration address in configurationStefan Eßer1997-05-266-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mode 1. Omission of this bit makes all config register accesses fail in on recent chip sets ... (The problem was reported and debug output provided by: Steve Passe) Notes: svn path=/head/; revision=26172
* | | Fix breakage from my last commit where mp_start() was missing from UP builds.Steve Passe1997-05-262-4/+8
| | | | | | | | | | | | Notes: svn path=/head/; revision=26171
* | | Changed inclusion of isa/icu.s to isa/ipl.s.Steve Passe1997-05-263-51/+63
| | | | | | | | | | | | | | | | | | | | | This is part of the breakup of UP/SMP specific INTerrupt code. Notes: svn path=/head/; revision=26169
* | | Split vector.s into UP and SMP specific files:Steve Passe1997-05-2616-1414/+2707
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - vector.s <- stub called by i386/exception.s - icu_vector.s <- UP - apic_vector.s <- SMP Split icu.s into UP and SMP specific files: - ipl.s <- stub called by i386/exception.s (formerly icu.s) - icu_ipl.s <- UP - apic_ipl.s <- SMP This was done in preparation for massive changes to the SMP INTerrupt mechanisms. More fine tuning, such as merging ipl.s into exception.s, may be appropriate. Notes: svn path=/head/; revision=26168
* | | This file has been made obsolete by the new PCI code.Stefan Eßer1997-05-261-105/+0
| | | | | | | | | | | | Notes: svn path=/head/; revision=26160
* | | Completely replace the PCI bus driver code to make it better reflectStefan Eßer1997-05-2619-7271/+3252
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reality. There will be a new call interface, but for now the file pci_compat.c (which is to be deleted, after all drivers are converted) provides an emulation of the old PCI bus driver functions. The only change that might be visible to drivers is, that the type pcici_t (which had been meant to be just a handle, whose exact definition should not be relied on), has been converted into a pcicfgregs* . The Tekram AMD SCSI driver bogusly relied on the definition of pcici_t and has been converted to just call the PCI drivers functions to access configuration space register, instead of inventing its own ... This code is by no means complete, but assumed to be fully operational, and brings the official code base more in line with my development code. A new generic device descriptor data type has to be agreed on. The PCI code will then use that data type to provide new functionality: 1) userconfig support 2) "wired" PCI devices 3) conflicts checking against ISA/EISA 4) maps will depend on the command register enable bits 5) PCI to Anything bridges can be defined as devices, and are probed like any "standard" PCI device. The following features are currently missing, but will be added back, soon: 1) unknown device probe message 2) suppression of "mirrored" devices caused by ancient, broken chip-sets This code relies on generic shared interrupt support just commited to kern_intr.c (plus the modifications of isa.c and isa_device.h). Notes: svn path=/head/; revision=26159
* | | Add kern/kern_intr.c as a standard kernel component. This file containsStefan Eßer1997-05-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | the new interrupt registration code, which is meant to be architecture indeppendent. Notes: svn path=/head/; revision=26158
* | | Add support for shared interrupts to the kernel. This code is meantStefan Eßer1997-05-263-111/+412
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | be (eventually) architecture independent. It provides an emulation of the ISA interrupt registration function register_intr(), but that function does no longer manipulated the interrupt controller and interrupt descriptor table, but calls the architecture dependent function setup_icu() for that purpose. After the ISA/EISA bus code has been modified to directly call the new interrupt registartion functions (intr_create() and intr_connect()), the emulation of register_intr() should be dropped. The C level interrupt handler function should take a (void*) argument, and the function pointer type (inthand2_t) should defined in some other place than isa_device.h. This commit is a pre-requisite for the removal of the PCI specific shared interrupt code. Reviewed by: dfr,bde Notes: svn path=/head/; revision=26157
* | | Add support for shared interrupts to the kernel. This code is meantStefan Eßer1997-05-262-0/+480
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | be (eventually) architecture independent. It provides an emulation of the ISA interrupt registration function register_intr(), but that function does no longer manipulated the interrupt controller and interrupt descriptor table, but calls the architecture dependent function setup_icu() for that purpose. After theISA/EISA bus code has been modified to directly call the new interrupt registartion functions (intr_create() and intr_connect()), the emulation of register_intr() should be dropped. The C level interrupt handler function should take a (void*) argument, and the function pointer type (inthand2_t) should defined in some other place than isa_device.h. This commit is a pre-requisite for the removal of the PCI specific shared interrupt code. Reviewed by: dfr,bde Notes: svn path=/head/; revision=26156
* | | Added a test called 'LATE_START'.Steve Passe1997-05-2610-1341/+1406
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is now the default, it delays most of the MP startup to the function machdep.c:cpu_startup(). It should be possible to move the 2 functions found there (mp_start() & mp_announce()) even further down the path once we know exactly where that should be... Help from: Peter Wemm <peter@spinner.dialix.com.au> Notes: svn path=/head/; revision=26155
* | | Lame typo fix here too.Jordan K. Hubbard1997-05-263-6/+6
| | | | | | | | | | | | Notes: svn path=/head/; revision=26154
* | | make beforeinstall in libalias from the includes targetPeter Wemm1997-05-261-1/+2
| | | | | | | | | | | | Notes: svn path=/head/; revision=26152
* | | One of the new cvs's features is to be able to run a checker on thePeter Wemm1997-05-264-11/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | log messages after they've been entered. This is more flexible than using the editinfo script since it works for all log message types and doesn't have to deal with trying to run the editor for the user. The problem is that the verifymsg script can't modify the file like editinfo can, which makes it useless for cleaning up the message (as is needed for remote commits etc). This change causes the verifymsg handler to read back the message after the verify script has run and returned an "OK" exit code. Notes: svn path=/head/; revision=26151
* | | YAMF22Jordan K. Hubbard1997-05-264-106/+167
| | | | | | | | | | | | Notes: svn path=/head/; revision=26149
* | | Uninitialised inp variable in div_bind().Peter Wemm1997-05-261-1/+2
| | | | | | | | | | | | | | | | | | | | | Submitted by: Åge Røbekk <aagero@aage.priv.no> Notes: svn path=/head/; revision=26147
* | | Corrected accidental breakage in the last commit.Kazutaka YOKOTA1997-05-263-9/+9
| | | | | | | | | | | | | | | | | | | | | Pointed out by: Steve Passe, smp@csn.net Notes: svn path=/head/; revision=26146
* | | De-couple ppp from libalias. If libalias isn't there, theBrian Somers1997-05-2625-119/+259
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | alias commands simply won't work. Only root may specify the location of the alias lib (otherwise, it's hard-coded). Make logprintf silently fail if LogOpen hasn't been called. Suggested by: eivind Notes: svn path=/head/; revision=26142
* | | Include <alias.h>, not "alias.h"Brian Somers1997-05-252-4/+2
| | | | | | | | | | | | Notes: svn path=/head/; revision=26136
* | | This commit adds support to ypbind(8) for binding to non-local servers.Bill Paul1997-05-255-5/+606
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The standard SunOS ypbind(8) (and, until now, the FreeBSD ypbind) only selects servers based on whether or not they respond to clnt_broadcast(). Ypbind(8) broadcasts to the YPPROC_DOMAIN_NONACK procedure and waits for answers; whichever server answers first is the one ypbind uses for the local client binding. This mechanism fails when binding across subnets is desired. In order for a client on one subnet to bind to a server on another subnet, the gateway(s) between the client and server must be configured to forward broadcasts. If this is not possible, then a slave server must be installed on the remote subnet. If this is also not possible, you have to force the client to bind to the remote server with ypset(8). Unfortunately, this last option is less than ideal. If the remote server becomes unavailable, ypbind(8) will lose its binding and revert to its broadcast-based search behavior. Even if there are other servers available, or even if the original server comes back up, ypbind(8) will not be able to create a new binding since all the servers are on remote subnets where its broadcasts won't be heard. If the administrator isn't around to run ypset(8) again, the system is hosed. In some Linux NIS implementations, there exists a yp.conf file where you can explicitly specify a server address and avoid the use of ypbind altogether. This is not desireable since it removes the possibility of binding to an alternate server in the event that the one specified in yp.conf crashes. Some people have mentioned to me how they though the 'restricted mode' operation (using the -S flag) could be used as a solution for this problem since it allows one to specify a list of servers. In fact, this is not the case: the -S flag just tells ypbind(8) that when it listens for replies to its broadcasts, it should only honor them if the replying hosts appear in the specified restricted list. This behavior has now been changed. If you use the -m flag in conjunction with the -S flag, ypbind(8) will use a 'many-cast' instead of a broadcast for choosing a server. In many-cast mode, ypbind(8) will transmit directly to the YPPROC_DOMAIN_NONACK procedure of all the servers specified in the restricted mode list and then wait for a reply. As with the broadcast method, whichever server from the list answers first is used for the local binding. All other behavior is the same: ypbind(8) continues to ping its bound server every 60 seconds to insure it's still alive and will many-cast again if the server fails to respond. The code used to achieve this is in yp_ping.c; it includes a couple of modified RPC library routines. Note that it is not possible to use this mechanism without using the restricted list since we need to know the addresses of the available NIS servers ahead of time in order to transmit to them. Most-recently-requested by: Tom Samplonius Notes: svn path=/head/; revision=26135
* | | Typo: .SH --> .Sh.Masafumi Max NAKANE1997-05-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | PR: 3683 Submitted by: Kazuo Horikawa <k-horik@yk.rim.or.jp> Notes: svn path=/head/; revision=26133
* | | Typo fix.Masafumi Max NAKANE1997-05-251-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | PR: 3684 Submitted by: Kazuo Horikawa <k-horik@yk.rim.or.jp> Notes: svn path=/head/; revision=26131
* | | Removed global hwisrs, replacing it with vec (formerly static to icu.s).Steve Passe1997-05-251-2/+2
| | | | | | | | | | | | Notes: svn path=/head/; revision=26130
* | | Made the array vec[] a global.Steve Passe1997-05-256-27/+24
| | | | | | | | | | | | | | | | | | | | | This allows the APIC code to reorder the vectors at runtime. Notes: svn path=/head/; revision=26129
* | | Fixed up ssigala@globalnet.it's "Jumping Daemon" screen saver for < v3.0.David E. O'Brien1997-05-253-12/+12
| | | | | | | | | | | | Notes: svn path=/head/; revision=26128
* | | Add lines for new files in ipfilterDarren Reed1997-05-252-0/+4
| | | | | | | | | | | | Notes: svn path=/head/; revision=26127
* | | This commit was generated by cvs2svn to compensate for changes in r26124,Darren Reed1997-05-2515-316/+1759
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=26125
| * | | Import version 3.2alpha7vendor/ipfilter-sys/v3-2-a7Darren Reed1997-05-2515-316/+1759
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/vendor-sys/ipfilter/dist-old/; revision=26124 svn path=/vendor-sys/ipfilter/v3-2-a7/; revision=26126; tag=vendor/ipfilter-sys/v3-2-a7
* | | | This commit was generated by cvs2svn to compensate for changes in r26121,Darren Reed1997-05-253-0/+564
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=26122
| * | | | Import version 3.2alpha7Darren Reed1997-05-253-0/+564
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (they're currently in src/contrib/ipfilter/ipfilter/ by mistake, if someone from core would like to delete that directory with three files as I'm not meant to do that :) Notes: svn path=/vendor/ipfilter/dist/; revision=26121
* | | | | This commit was generated by cvs2svn to compensate for changes in r26119,Darren Reed1997-05-2565-549/+1522
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=26120
| * | | | Import version 3.2alpha7Darren Reed1997-05-2565-549/+1522
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/vendor/ipfilter/dist/; revision=26119
* | | | | Add an entry for the Epson scanners since some of them repsond to moreJoerg Wunsch1997-05-251-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | than one LUN: Submitted by: simokawa@sat.t.u-tokyo.ac.jp (Hidetoshi Shimokawa) Notes: svn path=/head/; revision=26118
* | | | | Add a `strip' target which remove the ^H from plain text files.Wolfram Schneider1997-05-251-7/+18
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=26117
* | | | | Remove some quite bogus code that tried to find subnet names but insteadPoul-Henning Kamp1997-05-251-29/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | spammed named with bogus queries. Notes: svn path=/head/; revision=26116