aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix the derivation of the GEOM name from the specified device name byRalf S. Engelschall2005-01-071-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | complementing the existing special case of a not existing /dev prefix with the recognition of an already existing /dev prefix. This implicitly solves the following two issues related to working on GEOM devices /dev/foo/bar (which have the GEOM provider name "foo/bar") with the expected commands like "bsdlabel /dev/foo/bar": 1. the error "Geom not found" when trying to write or edit the BSD label (because previously the incorrect GEOM name "bar" instead of "foo/bar" was derived from "/dev/foo/bar"). 2. the multiple times reported "magically introduced" partition offset of 63 blocks and the resulting errors like "partition extends past end of unit" and "partition c doesn't start at 0!". This implicitly resulted because bsdlabel(8) determines the "MBR offset" via GEOM and (intentionally) silently falls back to an offset of 0 if it could not be queried (which is the case if the name was incorrectly derived). Usually (at least on PCs) the offset for the first slice is 63 blocks and bsdlabel(8) automatically subtracts them from the absolute offsets in the read on-disk BSD label, resulting in the display of an effective offset of 0. If the GEOM query fails, the assumed offset of 0 is subtracted and an incorrect effective offset of 63 is displayed and tried to be worked upon. Reviewed by: pjd MFC after: 1 week Notes: svn path=/head/; revision=139856
* The .Fn macro, document `flags' argument & bump document date.Giorgos Keramidas2005-01-071-4/+9
| | | | Notes: svn path=/head/; revision=139855
* WARNS=6 cleanup. This includes:Xin LI2005-01-072-8/+10
| | | | | | | | | | - Apply __unused on unused parameters - Use const where suitable - Use PRIu64 instead of the deprecated %q - Bump WARNS to 6 Notes: svn path=/head/; revision=139854
* Trim excessively verbose sentence.Giorgos Keramidas2005-01-071-1/+1
| | | | Notes: svn path=/head/; revision=139853
* The .Fn macroGiorgos Keramidas2005-01-071-4/+8
| | | | Notes: svn path=/head/; revision=139852
* Move the description of MNT_FORCE closer to mntflags and use a .BlGiorgos Keramidas2005-01-071-8/+13
| | | | | | | | | list for the valid flag values. This way, if VFS_UNMOUNT(9) supports more flags in the future, adding a single list item is going to be easy and all the flags are going to be in one place. Notes: svn path=/head/; revision=139851
* The .Fn macro.Giorgos Keramidas2005-01-071-4/+8
| | | | Notes: svn path=/head/; revision=139850
* There is no VFS_INIT(9).Giorgos Keramidas2005-01-071-54/+0
| | | | | | | Approved by: phk Notes: svn path=/head/; revision=139849
* The VFS_MOUNT() macro expects only 2 arguments in the nmount worldGiorgos Keramidas2005-01-071-15/+10
| | | | | | | | | (since revision 1.173 of src/sys/sys/mount.h). Update its prototype, the argument list description and bump the date. Notes: svn path=/head/; revision=139848
* Link a couple of missing manpagesGuido van Rooij2005-01-071-0/+2
| | | | | | | | Submitted by: Hideyuki KURASHINA <rushani@FreeBSD.org> MFC after: 1 week Notes: svn path=/head/; revision=139847
* Use a .Bl -tag list instead of plain .Pp paragraphs for describing theGiorgos Keramidas2005-01-071-12/+16
| | | | | | | | | macro arguments expected by SYSCALL_MODULE(). MFC after: 3 days Notes: svn path=/head/; revision=139845
* Fix time-travel bug.Giorgos Keramidas2005-01-071-1/+1
| | | | | | | Noticed by: krion Notes: svn path=/head/; revision=139844
* Avoid overusing "these" by breaking a long sentence in 2 smaller ones.Giorgos Keramidas2005-01-071-2/+4
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=139843
* Convert the descriptions of module versions to an explicit list andGiorgos Keramidas2005-01-071-3/+11
| | | | | | | | | | note that these versions numbers refer to moddepend, not the current module. MFC after: 3 days Notes: svn path=/head/; revision=139842
* Syntax nit.Giorgos Keramidas2005-01-071-2/+2
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=139841
* Introduce bus_dmamap_load_mbuf_sg(). Instead of taking a callback arg, thisScott Long2005-01-075-26/+111
| | | | | | | | | | cuts to the chase and fills in a provided s/g list. This is meant to optimize out the cost of the callback since the callback doesn't serve much purpose for mbufs since mbuf loads will never be deferred. This is just for amd64 and i386 at the moment, other arches will be coming shortly. Notes: svn path=/head/; revision=139840
* Fix typo from previous commit.Scott Long2005-01-071-0/+1
| | | | Notes: svn path=/head/; revision=139839
* Update manual page after adding 'fts_bignum' field.Pawel Jakub Dawidek2005-01-071-1/+24
| | | | | | | | Submitted by: Peter Jeremy <PeterJeremy@optushome.com.au> MFC after: 5 days Notes: svn path=/head/; revision=139838
* Add a default driver to attach to the "hidden" scsi channels of the DellScott Long2005-01-071-0/+62
| | | | | | | | PERC 3 controllers. This is needed to keep the PM code from powering them down. Notes: svn path=/head/; revision=139836
* Transfer responsibility for freeing the page taken from the cacheAlan Cox2005-01-071-19/+17
| | | | | | | | | | | | | | queue and (possibly) unlocking the containing object from vm_page_alloc() to vm_page_select_cache(). Recent optimizations to vm_map_pmap_enter() (see vm_map.c revisions 1.362 and 1.363) and pmap_enter_quick() have resulted in panic()s because vm_page_alloc() mistakenly unlocked objects that had not been locked by vm_page_select_cache(). Reported by: Peter Holm and Kris Kennaway Notes: svn path=/head/; revision=139835
* Fix typos from previous commit.Scott Long2005-01-072-0/+2
| | | | Notes: svn path=/head/; revision=139834
* Minor comment fix.Ken Smith2005-01-072-2/+2
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=139832
* Adjust two of my comments to the new world order: Indent protection inColin Percival2005-01-071-2/+2
| | | | | | | the first column is performed using /**, not /*-. Notes: svn path=/head/; revision=139831
* Point out that tsleep(... , 0) is not permitted if the Giant lock is notColin Percival2005-01-071-0/+5
| | | | | | | | | | held. (It causes a "sleeping without a mutex" assertion failure in msleep.) MFC after: 3 days Notes: svn path=/head/; revision=139828
* /* -> /*- for license, minor formatting changes, insert COPYRIGHT into filesWarner Losh2005-01-0718-24/+202
| | | | Notes: svn path=/head/; revision=139827
* /* -> /*- for license, minor formatting changes, separate for KAMEWarner Losh2005-01-0768-91/+91
| | | | Notes: svn path=/head/; revision=139826
* /* -> /*- for license, minor formatting changesWarner Losh2005-01-07426-453/+480
| | | | Notes: svn path=/head/; revision=139825
* Add FreeBSD tagWarner Losh2005-01-071-1/+3
| | | | Notes: svn path=/head/; revision=139824
* /* -> /*- for license, minor formatting changesWarner Losh2005-01-07519-571/+785
| | | | Notes: svn path=/head/; revision=139823
* Write some bit mask limits in hex rather than decimal so they look lessBrooks Davis2005-01-071-2/+2
| | | | | | | magic. Notes: svn path=/head/; revision=139821
* Return correct value in the lock routine.Peter Grehan2005-01-071-2/+2
| | | | Notes: svn path=/head/; revision=139819
* These are no longer relevant. They are scripts for extracting hintsWarner Losh2005-01-074-456/+0
| | | | | | | | | from 4.x kernel config files. User's wishing to upgrade from 4.x to 6 will need to go through 5.x, or grab this script from there. These scripts will remain in RELENG_5... Notes: svn path=/head/; revision=139817
* This is no longer supported, so remove it from the tree.Warner Losh2005-01-071-17/+0
| | | | Notes: svn path=/head/; revision=139816
* /* -> /*- for copyright notices, minor format tweaks as necessaryWarner Losh2005-01-0733-33/+43
| | | | Notes: svn path=/head/; revision=139815
* Use 64bit 'fts_bignum' field instead of 32bit (on 32bit archs) fieldPawel Jakub Dawidek2005-01-071-11/+13
| | | | | | | | | | | | | | | 'fts_number' to remember number of blocks. This makes du(1) 64bit-clean. This work is part of the BigDisk project: http://www.FreeBSD.org/projects/bigdisk/ Discussed on: arch@ MFC after: 5 days Notes: svn path=/head/; revision=139813
* Introduce new field 'fts_bignum' which is 64bit long and will allow toPawel Jakub Dawidek2005-01-072-4/+20
| | | | | | | | | | | | | | | | | | make utilities like du(1) 64bit-clean. When this field is used, one cannot use 'fts_number' and 'fts_pointer' fields. This commit doesn't break API nor ABI. This work is part of the BigDisk project: http://www.FreeBSD.org/projects/bigdisk/ Discussed on: arch@ MFC after: 5 days Notes: svn path=/head/; revision=139811
* We no longer recurse the mutex.Poul-Henning Kamp2005-01-071-1/+1
| | | | Notes: svn path=/head/; revision=139810
* If we get an interrupt and the interface is down, return before wePoul-Henning Kamp2005-01-072-9/+5
| | | | | | | | grab the lock. This should help a tiny bit on machines where unused if_sis interfaces share IRQ. Notes: svn path=/head/; revision=139809
* Don't tweak DSP on the ..16 chips.Poul-Henning Kamp2005-01-061-1/+1
| | | | Notes: svn path=/head/; revision=139808
* Fix for an issue with excessive collisions in half duplex mode.Poul-Henning Kamp2005-01-061-0/+8
| | | | Notes: svn path=/head/; revision=139807
* Nail the short cable problem the exact way National says it should be.Poul-Henning Kamp2005-01-061-19/+14
| | | | Notes: svn path=/head/; revision=139806
* Simplify and fix bugs in rx/tx ring cleanup.Poul-Henning Kamp2005-01-061-24/+21
| | | | Notes: svn path=/head/; revision=139805
* /* -> /*- for copyright notices, minor format tweaks as necessaryWarner Losh2005-01-0689-93/+97
| | | | Notes: svn path=/head/; revision=139804
* Expand COPYRIGHT inline, per Matthew Dillon's earlier approval.Warner Losh2005-01-061-4/+24
| | | | Notes: svn path=/head/; revision=139803
* Rewrite the rx/tx ring initialization to use pointers instead of arrays.Poul-Henning Kamp2005-01-061-45/+34
| | | | Notes: svn path=/head/; revision=139802
* Eliminate a bunch of unnecessary prototypes.Poul-Henning Kamp2005-01-061-54/+12
| | | | Notes: svn path=/head/; revision=139801
* Move the module related stuff to the bottom of the file. This willPoul-Henning Kamp2005-01-061-30/+30
| | | | | | | allow us to save prototypes. Notes: svn path=/head/; revision=139800
* /* -> /*- for license, add FreeBSD tagWarner Losh2005-01-0631-32/+48
| | | | Notes: svn path=/head/; revision=139799
* Make sure to clear any pending interrupts when we stop the interface.Poul-Henning Kamp2005-01-061-0/+1
| | | | Notes: svn path=/head/; revision=139798
* Close a theoretical race: By the time the watchdog comes aroundPoul-Henning Kamp2005-01-061-1/+5
| | | | | | | the interface may have been stopped, so we should not restart it. Notes: svn path=/head/; revision=139797