summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Add symtab parameter to X_db_symbol_values.dfr1998-07-051-2/+3
|
* Support 'g' format for printing 8 byte values.dfr1998-07-051-1/+5
|
* There is no such thing any more as "struct bdevsw".julian1998-07-0445-496/+819
| | | | | | | | | | | | | | | | | | There is only cdevsw (which should be renamed in a later edit to deventry or something). cdevsw contains the union of what were in both bdevsw an cdevsw entries. The bdevsw[] table stiff exists and is a second pointer to the cdevsw entry of the device. it's major is in d_bmaj rather than d_maj. some cleanup still to happen (e.g. dsopen now gets two pointers to the same cdevsw struct instead of one to a bdevsw and one to a cdevsw). rawread()/rawwrite() went away as part of this though it's not strictly the same patch, just that it involves all the same lines in the drivers. cdroms no longer have write() entries (they did have rawwrite (?)). tapes no longer have support for bdev operations. Reviewed by: Eivind Eklund and Mike Smith Changes suggested by eivind.
* VOP_STRATEGY grows an (struct vnode *) argumentjulian1998-07-0435-166/+88
| | | | | | as the value in b_vp is often not really what you want. (and needs to be frobbed). more cleanups will follow this. Reviewed by: Bruce Evans <bde@freebsd.org>
* Hmm, braino in last commit.phk1998-07-042-8/+10
|
* Change the sign on a race-condition, so that instead of ending up severalphk1998-07-042-16/+36
| | | | | tens of milliseconds out in the future we end up the right place with a subweeniesecond error.
* Remove '???' because it generates an annoying message aboutsteve1998-07-041-2/+2
| | | | | | | a trigraph being encountered when included. PR: 7123 Submitted by: Greg Lehey <grog@lemis.com>
* Fix some strange errors of shutting transmitter up when startsemenu1998-07-043-1182/+1153
| | | | | | | transmition after software reset with no link estabilished yet. Fix TX DMA stop method (queue last packet to stop). PR: i386/6578
* Don't use a struct buf (malloc'd) without first initialising all the fieldsjulian1998-07-041-1/+5
| | | | | to some known value! (probable cause of soft updates exploding with vn devices)
* Restored revs.1.89-1.90 which I somehow clobbered in rev.1.91.bde1998-07-031-4/+4
|
* Sync timestamp changes for inodes of special files to disk as latebde1998-07-038-29/+44
| | | | | | | | | | | | | | as possible (when the inode is reclaimed). Temporarily only do this if option UFS_LAZYMOD configured and softupdates aren't enabled. UFS_LAZYMOD is intentionally left out of /sys/conf/options. This is mainly to avoid almost useless disk i/o on battery powered machines. It's silly to write to disk (on the next sync or when the inode becomes inactive) just because someone hit a key or something wrote to the screen or /dev/null. PR: 5577 Previous version reviewed by: phk
* Centralized in-core inode update. Update the in-core inode directlybde1998-07-035-71/+33
| | | | | | | | in ufs_setattr() so that there is no need to pass timestamps to UFS_UPDATE() (everything else just needs the current time). Ignore the passed-in timestamps in UFS_UPDATE() and always call ufs_itimes() (was: itimes()) to do the update. The timestamps are still passed so that all the callers don't need to be changed yet.
* Check for missing keyboard.jkh1998-07-031-0/+26
| | | | | PR: 7108 Submitted by: Hellmuth Michaelis <hm@hcs.de>
* Update M_EXT support in m_copypacket().phk1998-07-031-3/+11
| | | | | | | PR: 7122 Reviewed by: phk Submitted by: Castor Fu <castor@geocast.com> Originally forgotten by: julian
* Reset MNT_ASYNC flag if needed if unmount() should fail.dg1998-07-032-2/+8
| | | | Submitted by: Paul Saab <paul@mu.org>
* When we transfer time from one timecounter to the next, use nanouptime(),phk1998-07-022-8/+8
| | | | | | not nanotime(); Otherwise we end up in 2026... Fix the arg to dummy_get_timecount()
* Add workaround to allow the FreeBSD boot block to work onwpaul1998-07-021-1/+13
| | | | | | | | | | | | | | Kapok Computer Co. notebook with AMI 'WinBIOS' which seems to insist on having a short jump and nop as the first instructions in the boot sector code. The prevailing theory is that the BIOS is doing some sort of boot sector virus detection and refusing to run any boot block that doesn't start with the same instruction sequence as MS-DOG boot sector code. If this is the case, it would be nice if it actually printed an error message to this effect instead of just saying 'FAILED.' This workaround has no effect on the boot sector code other than to increase its size by three bytes.
* Fix the N'th occurance of missed bits due to opt_???? mucking.sos1998-07-023-6/+15
| | | | | | Doesn't anybody TEST code before committing.... This is the N+1'th time these laste couble of days...
* Moved `#ifndef NFS_NOSERVER' after including nfs.h.kato1998-07-022-4/+4
|
* Sync with sys/i386/conf/options.i386 revision 1.82.kato1998-07-022-18/+16
|
* Sync with sys/i386/i386/machdep.c revision 1.302.kato1998-07-022-4/+24
|
* Sync with sys/i386/boot/netboot/Makefile, bootmenu.c, main.c andkato1998-07-024-12/+52
| | | | ns8390.c revisions 1.18, 1.15, 1.22 and 1.13, respectiely.
* Remove out of date comment.julian1998-07-021-4/+1
|
* Remove unused optionjulian1998-07-021-3/+1
|
* Remove the option to keep IPFW diversion backwards compatiblejulian1998-07-023-48/+5
| | | | | WRT diversion reinjection. No-one has been bitten by the new behaviour that I know of.
* Fixed missing options headers. Options that affect LKMs shouldn'tbde1998-07-011-3/+6
| | | | exist.
* Added opt_vmpage.h to SRCS so that it actually gets created.bde1998-07-011-5/+5
|
* Add 3 sysctl variables for future use by ps)1_phk1998-06-305-7/+34
|
* Add PSE36 to the bits we know by name.phk1998-06-302-4/+4
|
* Leading whitespace in Makefile are TABS not spaces....sos1998-06-301-2/+2
|
* Nuked opt_defunct.h and kern_opt.c. config(8) now generates good enoughbde1998-06-308-86/+6
| | | | warnings about all unknown options.
* add new opt_nfs.h to cleanfiles...jmg1998-06-303-6/+6
|
* fix more of my breakage... :(jmg1998-06-301-1/+5
| | | | create opt_vmpage.h
* Sigh, we need this one now.phk1998-06-301-0/+1
|
* fix buildworld hopefully be3fore anyone complains...jmg1998-06-309-9/+27
| | | | | | | | NFS_*TIMO should possibly be converted to sysctl vars (jkh's suggestion), but in some cases it looks like nfs keeps a copy of the value in a struct hash sizes are already ifdef'd KERNEL, so there aren't userland inpact from them...
* These are a selection of small problems and annoyances with the netbootphk1998-06-304-15/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | code. Apart from the first one, none really affect typical configurations but are nevertheless unnecessary limitations. We use netbooted PCs as student X-terminals and all of the below fixes have been useful. Apologies for including them all in one PR, but some are just too silly or trivial to send on their own! a) Newer SMC cards have hardware addresses starting with 00:E0. Netboot compares the MAC address with 00:00:C0 to determine if it is a WD/SMC card, so it fails to detect these. b) Netboot is unable to boot kzipped kernels, as it assumes that the kernel load address is 0x100000. c) Users can abort the booting process and enter arbitrary network addresses, or boot from a floppy disk. This can be a problem when netbooted machines are used in a student environment. d) It is not possible to set all options via bootp. For example there is no way to remotely force a client to boot from disk. With both SECURE_BOOT(patch below) and NO_TFTP defined, short of unplugging the eprom there is no way at all to get the client to boot locally. A generic solution is to allow complete netboot commands to be sent using bootp lines such as: :T132="diskboot": e) The last character of netboot command names is not checked. You can type 'iz 10.0.0.1' and it will be interpreted as 'ip'. This is only important if you try to add a new command which is the same as an existing one except for the last character. f) We have a configuration where multiple servers are willing to serve a diskless client. The tftp config file, or the bootptab entry on each server must specify the root and swap filesystems as 'ip:/fs' even though 'ip' will usually be the responding server's IP address. It would be nice if netboot could automatically prepend the server's IP address to an entry specified as just '/fs', so that multiple servers can use the same tftp or bootp configuration files. Admittedly this is hardly a major problem! PR: 7098 Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
* #include sys/libkern.h instead of stdlib.h.phk1998-06-301-2/+2
| | | | | | PR: 7105 Reviewed by: phk Submitted by: Robert Watson <robert+freebsd@cyrus.watson.org>
* Byte count statistics of multicast vifs are invalid.phk1998-06-301-2/+2
| | | | | | | The problem is caused by a wrong endianess in the sum. PR: 7115 Submitted by: Joao Carlos Mendes Luis <jonny@jonny.eng.br>
* remove option LINUX as it did nothing, add DEBUG_LINUX to debug thejmg1998-06-304-6/+14
| | | | | | linux emulation... (actually moved LINUX to opt_dontuse.h)
* move OVERRIDE_TUNER from i386 to general options... it's not i386jmg1998-06-303-7/+6
| | | | specific
* document options to hardwire GUS irq/dmas...jmg1998-06-306-5/+31
|
* document PCI_QUIET that prevents pci from compiling in so many stringsjmg1998-06-305-8/+28
|
* document some VM paging options for cache sizes:jmg1998-06-305-5/+28
| | | | | | PQ_NOOPT no coloring PQ_LARGECACHE used for 512k/16k cache PQ_HUGECACHE used for 1024k/16k cache
* make NO_SCSI_SENSE a proper option (already documented in LINT)jmg1998-06-302-1/+4
|
* document and make EXPORTMFS a new style optionjmg1998-06-304-4/+11
|
* convert some nfs tunables to options, these are:jmg1998-06-3015-21/+81
| | | | | | | | | | | | | | | | NFS_MINATTRTIMO VREG attrib cache timeout in sec NFS_MAXATTRTIMO NFS_MINDIRATTRTIMO VDIR attrib cache timeout in sec NFS_MAXDIRATTRTIMO NFS_GATHERDELAY Default write gather delay (msec) NFS_UIDHASHSIZ Tune the size of nfssvc_sock with this NFS_WDELAYHASHSIZ and with this NFS_MUIDHASHSIZ Tune the size of nfsmount with this NFS_NOSERVER (already documented in LINT) NFS_DEBUG turn on NFS debugging also, because NFS_ROOT is used by very different files, it has been renamed to opt_nfsroot.h instead of the old opt_nfs.h....
* Fixed bogus dependency on `beforedepend'. File targets should neverbde1998-06-291-2/+2
| | | | depend on phony targets or they would always be out of date.
* Update generated filesphk1998-06-281-2/+2
|
* Add trailing newline to sys/syscall.mk so that diff doesn't choke on it.phk1998-06-281-1/+2
|
* Added a sysctl variable kern.sugid_coredump for controlling coredumpdg1998-06-281-2/+7
| | | | behavior of setuid/setgid binaries that defaults to 0 (coredump disabled).
OpenPOWER on IntegriCloud