aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Use the correct device name in "show modem"Brian Somers1997-09-221-8/+2
| | | | Notes: svn path=/head/; revision=29698
* Correct the way the uucp lock file and the ttyXX.if lockBrian Somers1997-09-224-61/+108
| | | | | | | | | | file get created. We don't create lock files over non-tty connections, but we *do* create lock files in -direct mode. This leaves us capable of adding utmp/wtmp support for successful pap & chap logins (coming soon). Notes: svn path=/head/; revision=29696
* Oops. This file shouldn't have been committed.Justin T. Gibbs1997-09-222-36/+34
| | | | Notes: svn path=/head/; revision=29695
* Make selection logic more strict. Only select AF_INET loopback interfacesBill Paul1997-09-211-3/+6
| | | | | | | | that are up on second (loopback only) pass, and only select non-loopback AF_INET interfaces that are up on first pass. Notes: svn path=/head/; revision=29694
* Sleep for a second before sending the first LCPBrian Somers1997-09-211-1/+3
| | | | | | | | | | config request. This stops us from squirting stuff down a line that still has ECHO turned on because the peer hasn't had a chance to start yet. Lead to the cause by: Greg Lehey <grog@lemis.com> Notes: svn path=/head/; revision=29692
* Remove an unfortunate name clash with the zalloc/zfree routines. Since theJohn Dyson1997-09-211-11/+11
| | | | | | | ppp_deflate code uses the names locally - it looses. Notes: svn path=/head/; revision=29691
* urk, fix spelling error in comment I just fixed.Julian Elischer1997-09-211-2/+2
| | | | Notes: svn path=/head/; revision=29690
* Fix a comment.Julian Elischer1997-09-211-2/+6
| | | | Notes: svn path=/head/; revision=29688
* Add isa_devtab_cam.Justin T. Gibbs1997-09-214-2/+8
| | | | Notes: svn path=/head/; revision=29687
* Updated timeout.9 man page describing the new callout interface. ThisJustin T. Gibbs1997-09-211-63/+120
| | | | | | | man page was based on the NetBSD version. Notes: svn path=/head/; revision=29686
* Convert tqdisksort to bufqdisksort. Honor the B_ORDERED buffer flagJustin T. Gibbs1997-09-212-154/+112
| | | | | | | so that meta-data writes go out to the device in the right order. Notes: svn path=/head/; revision=29685
* Update for new buffer queue data structure.Justin T. Gibbs1997-09-212-12/+12
| | | | Notes: svn path=/head/; revision=29684
* buf.h:Justin T. Gibbs1997-09-2113-28/+210
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the definition of a buffer queue so that bufqdisksort can properly deal with bordered writes. Add inline functions for accessing buffer queues. This should be considered an opaque data structure by clients. callout.h: New callout implementation. device.h: Add support for CAM interrupts. disk.h: disklabel.h: tqdisksort->bufqdisksort kernel.h: Add new configuration entries for configuration hooks and calling cpu_rootconf and cpu_dumpconf. param.h: Add a priority for sleeping waiting on config hooks. proc.h: Update for new callout implementation. queue.h: Add TAILQ_HEAD_INITIALIZER from NetBSD. systm.h: Add prototypes for cpu_root/dumpconf, splcam, splsoftcam, etc.. Notes: svn path=/head/; revision=29683
* Convert to use the new bufq* functions for dealing with bufferJustin T. Gibbs1997-09-219-37/+44
| | | | | | | queues. Notes: svn path=/head/; revision=29682
* Update for new callout interface.Justin T. Gibbs1997-09-2120-71/+108
| | | | Notes: svn path=/head/; revision=29681
* init_main.c subr_autoconf.c:Justin T. Gibbs1997-09-2110-306/+489
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for "interrupt driven configuration hooks". A component of the kernel can register a hook, most likely during auto-configuration, and receive a callback once interrupt services are available. This callback will occur before the root and dump devices are configured, so the configuration task can affect the selection of those two devices or complete any tasks that need to be performed prior to launching init. System boot is posponed so long as a hook is registered. The hook owner is responsible for removing the hook once their task is complete or the system boot can continue. kern_acct.c kern_clock.c kern_exit.c kern_synch.c kern_time.c: Change the interface and implementation for the kernel callout service. The new implemntaion is based on the work of Adam M. Costello and George Varghese, published in a technical report entitled "Redesigning the BSD Callout and Timer Facilities". The interface used in FreeBSD is a little different than the one outlined in the paper. The new function prototypes are: struct callout_handle timeout(void (*func)(void *), void *arg, int ticks); void untimeout(void (*func)(void *), void *arg, struct callout_handle handle); If a client wishes to remove a timeout, it must store the callout_handle returned by timeout and pass it to untimeout. The new implementation gives 0(1) insert and removal of callouts making this interface scale well even for applications that keep 100s of callouts outstanding. See the updated timeout.9 man page for more details. Notes: svn path=/head/; revision=29680
* Update for changes in the callout interface.Justin T. Gibbs1997-09-217-48/+73
| | | | Notes: svn path=/head/; revision=29679
* soundcard.c:Justin T. Gibbs1997-09-212-4/+5
| | | | | | | | | | Update for changes in the callout interface. sequencer.c: Add a paren that seems to have gone missing. Notes: svn path=/head/; revision=29678
* aha1542.c aic6360.c cy.c fd.c ft.cJustin T. Gibbs1997-09-2143-299/+464
| | | | | | | | | | | | | | | if_ie.c if_wl.c if_zp.c isa.c isa_device.h labpc.c mcd.c ncr5380.c scd.c seagate.c si.c sio.c tw.c ultra14f.c wcd.c wd.c: Update for changes in the callout interface. apic_vector.s icu_vector.s ipl.s ipl_funcs.c: Add CAM software/hardware interrupt support. Notes: svn path=/head/; revision=29677
* ipl.h:Justin T. Gibbs1997-09-213-3/+15
| | | | | | | | | | Add CAM software/hardware interrupt support. si.h: Update for changes in the callout interface. Notes: svn path=/head/; revision=29676
* autoconf.c:Justin T. Gibbs1997-09-217-27/+99
| | | | | | | | | | | | | | | | Add cpu_rootconf and cpu_dumpconf so that configuring these two devices can be better controlled by the MI configuration code. machdep.c: MD initialization code for the new callout interface. trap.c: Add support for printing out whether cam interrupts are masked during a panic. Notes: svn path=/head/; revision=29675
* Add shared EISA interrupt support.Justin T. Gibbs1997-09-2113-204/+293
| | | | | | | Clean up the match routines so that they return const char * Notes: svn path=/head/; revision=29674
* Move the rules for aicasm to the MI conf file.Justin T. Gibbs1997-09-214-64/+42
| | | | Notes: svn path=/head/; revision=29673
* Convert to the new callout interface.Justin T. Gibbs1997-09-212-6/+14
| | | | Notes: svn path=/head/; revision=29672
* Convert to the new callout interface.Justin T. Gibbs1997-09-212-5/+15
| | | | | | | Guard against scheduling more than one callout. Notes: svn path=/head/; revision=29671
* Move the rules for aicasm to the MI conf file.Justin T. Gibbs1997-09-211-0/+16
| | | | | | | | Add kern/subr_autoconf.c as a standard file as it contains the bulk of the code for performing interrupt driven configuration. Notes: svn path=/head/; revision=29670
* It turns out that the following:Brian Somers1997-09-212-17/+5
| | | | | | | | | | | | | | | close(1); close(2); x = open(ctermid(NULL), O_RDWR|O_NONBLOCK); close(0) on a tty causes select() to return an exception for descriptor x ! This is the case in RELENG_2_2, but not in 2.2.2. I'm not sure why. Instead of doing the x=open() and close(0), we just do x=0 now. Problem pointed out by: Greg Lehey <grog@lemis.com> Tomi Vainio <tomppa@fidata.fi> Notes: svn path=/head/; revision=29668
* FreeBSD's original passwd helper is needed here.Mark Murray1997-09-211-0/+228
| | | | Notes: svn path=/head/; revision=29667
* Unspam rev 1.114 that got spammed when someone commited the rc.confJoerg Wunsch1997-09-212-8/+4
| | | | | | | | changes: drop `savecore_enable' now that our savecore obeyes the minfree file. Notes: svn path=/head/; revision=29664
* Implement the parts needed for VM86 under SMP.Peter Wemm1997-09-2116-66/+193
| | | | Notes: svn path=/head/; revision=29663
* Typo policeBrian Somers1997-09-212-6/+6
| | | | | | | Submitted by: Mark Cammidge <mark@gmtunx.ee.uct.ac.za> Notes: svn path=/head/; revision=29660
* Add a pppctl(8) xref.Brian Somers1997-09-212-4/+6
| | | | | | | Suggested by: joerg Notes: svn path=/head/; revision=29659
* Add ypwhich(1) and yppoll(8) manual pages.Wolfram Schneider1997-09-214-4/+185
| | | | | | | Obtained from: NetBSD, slightly modified Notes: svn path=/head/; revision=29658
* Fix some style(9) and formatting problems. tabsize 4 formatting doesn'tPeter Wemm1997-09-212-104/+122
| | | | | | | | | look too great with 'more' etc. Approved by: dyson (with a minor grumble :-) Notes: svn path=/head/; revision=29657
* Chown(8) compiled with -DSUPPORT_DOT (backward compatibility) doesWolfram Schneider1997-09-211-6/+6
| | | | | | | | | | | | | first check for a `.' and then for `:' as a delimiter. Usernames with a dot will fail. # chown r.r:bin /tmp/bla chown: r:bin: illegal group name Fix: first check for a `:' and then for a `.' Notes: svn path=/head/; revision=29656
* Add support for more than 1 page of idle process stack on SMP systems.John Dyson1997-09-2112-167/+283
| | | | Notes: svn path=/head/; revision=29655
* Re-institute a bugfix in allocation of anonymous buffer memory.John Dyson1997-09-211-7/+36
| | | | Notes: svn path=/head/; revision=29654
* Change the M_NAMEI allocations to use the zone allocator. This changeJohn Dyson1997-09-2136-295/+427
| | | | | | | | | | | plus the previous changes to use the zone allocator decrease the useage of malloc by half. The Zone allocator will be upgradeable to be able to use per CPU-pools, and has more intelligent usage of SPLs. Additionally, it has reasonable stats gathering capabilities, while making most calls inline. Notes: svn path=/head/; revision=29653
* Recognize the CS4326 on the Intel PR440FX motherboard. (It works just likePeter Wemm1997-09-213-33/+72
| | | | | | | | | the normal CS4326 except that it's had it's ID's tweaked for some reason) Also mark the device as alive in the attach routine so that the pnp system doesn't think the attach failed. Notes: svn path=/head/; revision=29652
* Fix a comment-within-a-commentPeter Wemm1997-09-215-5/+5
| | | | Notes: svn path=/head/; revision=29651
* Accept FIOASYNC (like the old sound driver) since it's generated byPeter Wemm1997-09-211-2/+2
| | | | | | | kern_descrip.c when the user does an fcntl(.., F_SETFL, ...). Notes: svn path=/head/; revision=29650
* We were (I think) missing a vrele() on the vnode for the object loadedPeter Wemm1997-09-211-6/+5
| | | | | | | via PT_INTERP (usually /usr/libexec/ld-elf.so.1). Notes: svn path=/head/; revision=29649
* Add "delete 0" before "add 0 0..."Brian Somers1997-09-211-1/+2
| | | | | | | Suggested by: Notes: svn path=/head/; revision=29647
* Do not complain about non existing shell "/nonexistent"Wolfram Schneider1997-09-201-3/+6
| | | | | | | | | Smarter error check if a uid is already in use. Submitted by: "Eugene Radchenko" <genie@qsar.chem.msu.su> Notes: svn path=/head/; revision=29645
* Do not accept empty user names.Wolfram Schneider1997-09-201-2/+2
| | | | Notes: svn path=/head/; revision=29644
* Don't gratuitously drop termcap.db and vgrindefs.db from the installedJoerg Wunsch1997-09-201-3/+1
| | | | | | | | | set of files. Reviewed by: jkh Notes: svn path=/head/; revision=29642
* Perform a `make distrib-dirs distribution' inside the chroot treeJoerg Wunsch1997-09-201-1/+2
| | | | | | | | | before trying to `make world', so to become less dependant from the correctness of the environment hosting the `make release'. The recent addition of a group `network' made this problem apparent. Notes: svn path=/head/; revision=29640
* For AMD chips, pick up the long description from the chip ifPoul-Henning Kamp1997-09-202-2/+142
| | | | | | | | | | possible. (This is not really a typographical improvement in the case of the K6 it seems, but AMD appearantly want it too look that way). Also if bootverbose, dump some more info about the chip. Notes: svn path=/head/; revision=29639
* _G_VTABLE_LABLE_PREFIX is different between ELF and a.outPeter Wemm1997-09-201-0/+6
| | | | | | | ('_vt.' vs '__vt$') Notes: svn path=/head/; revision=29637
* Addition of support of the slightly rogue Promise IDE interface(Dyson), supportJohn Dyson1997-09-208-654/+1205
| | | | | | | | | | | | | | of multiple PCI IDE controllers(Dyson), and some updates and cleanups from John Hood, who originally made our IDE DMA stuff work :-). I have run tests with 7 IDE drives connected to my system, all in DMA mode, with no errors. Modulo any bugs, this stuff makes IDE look really good (within it's limitations.) Submitted by: John Hood <cgull@smoke.marlboro.vt.us> Notes: svn path=/head/; revision=29636