summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* vm_object_page_clean() last arg changed from TRUE to OBJPC_SYNC. I'm notpeter1998-10-312-4/+4
| | | | | | sure that this is necessary to be a sync write here since a VOP_FSYNC() follows and it will schedule, sort and complete the writes that the vm_object_page_clean() started (as I think I understand things).
* Change dirty block list handling to use TAILQ macros.peter1998-10-312-16/+16
|
* Use TAILQ macros for clean/dirty block list processing. Set b_xflagspeter1998-10-3129-96/+94
| | | | rather than abusing the list next pointer with a magic number.
* I do not know if this is correct, but add iicbb0 as a device so thatpeter1998-10-313-3/+6
| | | | LINT links.
* Fixup prototypes so that this beastie compiles.peter1998-10-312-8/+8
|
* Convert lists for bufs attached to vnodes from a LIST to a TAILQ.peter1998-10-312-102/+116
| | | | | | | | | | | | | | | | | | | | | | - Use TAILQ_* macros extensively instead of internal names - use b_xflags instead of the NOLIST magic number hack in the next pointer - clean bufs are inserted at the tail rather than the head. - redo dirty buffer insert so that metadata (negative lbn) goes to the tail directly rather than at the HEAD. This makes a difference when inserting dirty data blocks in lbn sorted order since data block insertion will not have to bypass all the metadata cruft. data is lbn sorted since it makes sense for clustering and writeback ordering, while metadata sorting doesn't help much since the lbn's are meaningless when walking the list for writebacks. Small systems will not notice much (if any) benefit from this, but really busy systems with large dirty block lists should get a lot more. I've tested this with softdep, and it doesn't seem to mind the change of queueing of metadata. Reviewed (in princible) by: dg Obtained from: partly from John Dyson's work-in-progress patches in June.
* Convert the vnode clean/dirty attached buffer lists from LISTs to TAILQs.peter1998-10-313-14/+22
| | | | | | | | | | | Add a new flags field (we get this for free because of struct packing) for cleaner management of tailq membership. We had two spare b_flags slots, but they are a precious resource and may be needed for other things that are related to other b_flags bits. The two new flags are convenient to use in a seperate location. Reviewed (in principle) by: dg Obtained from: John Dyson's old work-in-progress
* New callback mechanism to allow iicbus bus allocation when requestingnsouch1998-10-314-32/+79
| | | | smbus over iicsmb(4).
* pcf.c: timeout management addednsouch1998-10-318-394/+837
| | | | ppc.c: nsc code improved. Actually, a complete rewrite.
* lpbb is the official Philips parallel I2C interface. lpbb.c contains onlynsouch1998-10-312-7/+340
| | | | | | basic i/o functions, bit-banging mechanism is implemented by dev/iicbus/iicbb.c immio.c: some bootverbose logs to watch zip+ connect/disconnect process
* iicbb is generic support for I2C bit-banging.nsouch1998-10-3110-120/+665
| | | | Other files: timeout management added to the I2C framework.
* Brooktree driver ported to the new I2C framework. See iicbus(4) for more info.nsouch1998-10-318-38/+1076
|
* Extensions to iicbus(4) added + brooktree848 driver ported to new I2Cnsouch1998-10-311-0/+17
| | | | framework.
* * Use explicitly sized types for grovelling around inside packets.dfr1998-10-311-21/+21
| | | | | | * On the alpha, make sure memory accesses are only made to aligned boundaries. Submitted by: Alex Nash <nash@mcs.net>
* * Fix vga_probe() so that it doesn't report a non-vga display adapter asdfr1998-10-313-8/+14
| | | | | | | | | a vga. * Fix broken logic in syscons for a failed probe. * Fix AlphaStation 500/600 so that non-serial consoles are supported. Submitted by: Thomas Valentino Crimi <tcrimi+@andrew.cmu.edu> (vga bits), Andrew Gallatin <gallatin@cs.duke.edu> (AS500/AS600)
* The last argument to vm_object_page_clean() are now bit flags, rather thanpeter1998-10-314-8/+8
| | | | | | | | | | | | the old true/false. While here, have vfs_msync() only call vm_object_page_clean() with OBJPC_SYNC if called with MNT_WAIT flags. vfs_msync() is called at unmount time (with MNT_WAIT) and from the syncer process (formerly update). This should make dirty mmap writebacks a little less nasty. I have tested this a little with SOFTUPDATES enabled, but I don't normally use it since I've been badly burned too many times.
* - Add a new command 'lsdev' to list devices which might be likely to hostmsmith1998-10-318-22/+657
| | | | | | | | | | filesystems. - New 'help' command and data in the help.* files (not yet installed), provides topic and subtopic help, indexes, etc. - Don't crash if the user tries to set an invalid console. Be helpful instead. - Expand tabs (badly) on the i386 video console. - Some minor cosmetic changes.
* Document that we support i82595-based Ethernet adapters (Intel EtherExpressdes1998-10-303-3/+6
| | | | Pro/10 and Pro/10+).
* Unwire everything to the inactive queue in order to preserve LRU ordering.dg1998-10-301-37/+12
|
* Fix a typo, and remove verbose error reporting when inluigi1998-10-302-4/+8
| | | | | promisc mode (they are annoying in normal mode as well so i am really tempted to remove them unconditionally...)
* Use "KB" instead of "Kb" for KiloBytes, consistently with otherluigi1998-10-304-12/+12
| | | | drivers and common practices.
* Fix an uninitialized variable in the `dangerously dedicated disk' case.luoqi1998-10-301-1/+2
|
* Add the ability to specify where on the at_shutdown queue a handler ismsmith1998-10-3012-64/+64
| | | | | | | | | installed. Remove cpu_power_down, and replace it with an entry at the end of the SHUTDOWN_FINAL queue in the only place it's used (APM). Submitted by: Some ideas from Bruce Walter <walter@fortean.com>
* Do not disable the ISA compatibility window if it is the same value asgibbs1998-10-304-18/+35
| | | | that set for our PCI IO address space. This can happen on the BT-946.
* Put back MFS_ROOT now that it's been fixed correctly.jkh1998-10-302-4/+4
|
* Fix this correctly - check if mfs_getimage() succeeds before settingsjkh1998-10-301-2/+7
| | | | | the MFS root unconditionally, just as on the x86. Prompted by: msmith
* Take MFS_ROOT out for now; for some reason, the alpha GENERIC chokesjkh1998-10-302-4/+4
| | | | | | and dies if it can't find the MFS root whereas the x86 one seems to sail past. Looking at the code, I can't see how either one works, so I'm confused. :)
* Make the BTX loader much more quiet about what it's doing. This removesmsmith1998-10-303-54/+87
| | | | most of the "what the (*^&%(*^ was that?" stuff that normally flies by.
* Per request from ache, change the numbering scheme of __FreeBSD_cc_version.jdp1998-10-291-2/+2
| | | | | Its form is now like __FreeBSD_version, with the FreeBSD revision in the top digits.
* Correct the reporting of the queue full condition so that the XPT layergibbs1998-10-292-6/+13
| | | | | | | can properly throttle tags. Add diagnostic printfs for firmware result codes that we encounter but don't know anything about.
* Bump VERSREQ to make ``config'' happy.dima1998-10-292-4/+4
| | | | Obtained from: Makefile.i386
* Oops, rev.1.167 made the device number checking in bdevvp() too strictbde1998-10-292-6/+8
| | | | for mfs root mounts. Don't require major 255 to be in bdevsw[].
* Fixed editing error. Pointed out by bde.dg1998-10-291-2/+1
|
* Remove the V_SAVEMETA flag, nothing uses it any more now that msdosfs andpeter1998-10-293-38/+15
| | | | | ext2fs call vtruncbuf() directly. This simplifies and cleans up vinvalbuf() a little.
* error return assignment was less than ideal. Fix the part that causedpeter1998-10-292-4/+4
| | | | | warnings to be the same as the ffs code. Previously, any error from the UFS_UPDATE() call was lost (I think).
* Use vtruncbuf() to clean out cached blocks on a file shorten rather thanpeter1998-10-292-6/+8
| | | | | the more expensive vinvalbuf(), based on the FFS version of the same routine. I don't have any ext2fs filesystems to test this on.
* Use vtruncbuf() rather than vinvalbuf() when shortening files.peter1998-10-292-12/+18
|
* Make the definition of __printf0like() vary according to the valuejdp1998-10-291-4/+9
| | | | | of __FreeBSD_cc_version, so that its use is safe with older compilers and with non-FreeBSD compilers.
* A small fragment of new ISA framework: manifest constants for the resourceswollman1998-10-293-0/+129
| | | | implemented by the i386 root nexus.
* A Perl5 version of makedevops.sh. Fixes a bug in the sh/awk versionwollman1998-10-291-0/+221
| | | | | which really annoyed me at the time but I don't think bites me any more.
* The new resource manager, hopefully in a reasonably stable form.wollman1998-10-292-0/+686
|
* Change the way unmounting happens to guarantee that thervb1998-10-284-42/+122
| | | | | | | client programs are allowed to finish up (coda_call is forced to complete) and release their locks. Thus there is a reasonable chance that the vflush implicit in the unmount will not get hung on held locks.
* Updatervb1998-10-281-11/+0
|
* Venus must be passed O_CREAT flag on VOP_OPEN iff this isrvb1998-10-288-148/+246
| | | | | | a creat so that we can will allow a mode 444 file to be written into. Sync with the latest coda.h and deal with collateral damage.
* Simplify the "is a character ready" test, so that we don't return a falsemsmith1998-10-281-4/+2
| | | | | | | negative for keypresses with zero ascii values. This is in line with the comconsole test, rather than being more ambitious. Submitted by: rnordier
* Fixed wrong comments in and about vm_page_deactivate().dg1998-10-281-13/+3
|
* Added a second argument, "activate" to the vm_page_unwire() call so thatdg1998-10-2811-40/+43
| | | | the caller can select either inactive or active queue to put the page on.
* Sync with sys/i386/conf/Makefile.i386 revision 1.127.kato1998-10-282-4/+4
|
* Clarify a rather ambiguous debugging message.jkh1998-10-282-4/+4
|
* Add BUS_DEBUG option in opt_bus.hdfr1998-10-281-1/+4
|
OpenPOWER on IntegriCloud