summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Move vnode-to-file-handle translation from vfs_vptofh to vop_vptofh method.pjd2007-02-1534-237/+302
| | | | | | | | | | | | | | | | This way we may support multiple structures in v_data vnode field within one file system without using black magic. Vnode-to-file-handle should be VOP in the first place, but was made VFS operation to keep interface as compatible as possible with SUN's VFS. BTW. Now Solaris also implements vnode-to-file-handle as VOP operation. VFS_VPTOFH() was left for API backward compatibility, but is marked for removal before 8.0-RELEASE. Approved by: mckusick Discussed with: many (on IRC) Tested with: ufs, msdosfs, cd9660, nullfs and zfs
* Support AHCI chips where the ports are not consecutively numbered as insos2007-02-152-76/+126
| | | | | some incarnations of the ICH8 chip. Also fix the panic introduced by the last commit.
* Grammar nits.ceri2007-02-151-2/+2
|
* Put one $FreeBSD$ keyword in standard location, bump copyright date.bmah2007-02-151-6/+3
|
* Add supported processors and motherboards sections from the MDbmah2007-02-151-0/+378
| | | | hardware notes documents in */proc-*.sgml.
* Add selected bits from */article.sgml, common/artheader.sgml, andbmah2007-02-151-0/+58
| | | | common/intro.sgml to make a valid article.
* First step in consolidating the various MD bits of the hardware notes.bmah2007-02-151-158/+158
| | | | | | | Convert MD references in the supported devices section from arch="" attributes for conditional compilation to entities that will just print architecture names. (The entities aren't defined yet...this will happen in a future commit.)
* Forced commit to note a repo-copy of this file frombmah2007-02-150-0/+0
| | | | src/release/doc/en_US.ISO8859-1/hardware/common/dev.sgml.
* Add examples for configuring and mounting geom_uzip(4) based disks'matteo2007-02-151-0/+20
| | | | | image and sliced/partitioned memory disks. MFC after: 1 week
* remove some leftover text and update the text to match the current versionluigi2007-02-151-10/+5
| | | | of the code.
* Cleanup and document the implementation of firmware(9) based onluigi2007-02-1510-178/+296
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a version that i posted earlier on the -current mailing list, and subsequent feedback received. The core of the change is just in sys/firmware.h and kern/subr_firmware.c, while other files are just adaptation of the clients to the ABI change (const-ification of some parameters and hiding of internal info, so this is fully compatible at the binary level). In detail: - reduce the amount of information exported to clients in struct firmware, and constify the pointer; - internally, document and simplify the implementation of the various functions, and make sure error conditions are dealt with properly. The diffs are large, but the code is really straightforward now (i hope). Note also that there is a subtle issue with the implementation of firmware_register(): currently, as in the previous version, we just store a reference to the 'imagename' argument, but we should rather copy it because there is no guarantee that this is a static string. I realised this while testing this code, but i prefer to fix it in a later commit -- there is no regression with respect to the past. Note, too, that the version in RELENG_6 has various bugs including missing locks around the module release calls, mishandling of modules loaded by /boot/loader, and so on, so an MFC is absolutely necessary there. I was just postponing it until this cleanup to avoid doing things twice. MFC after: 1 week
* fix comment about what pnpinfo is setimp2007-02-151-1/+2
|
* Fix spurious I/O errors when under high load.scottl2007-02-152-2/+6
| | | | Submitted by: Erich Chen
* Correct -c and -d description.matteo2007-02-152-16/+16
| | | | | | | Other requests made in the PR were already solved in the past. PR: bin/66763 MFC after: 1 week
* Expand history and authors section of mbuf.9 man page to discuss recentrwatson2007-02-151-0/+28
| | | | | | transition to mbuma (FreeBSD 5.3) and the fact that mbufs are now limited almost entirely to packet storage, with straight UMA zones being used for most other network data types.
* Mention the nat command in the synopsis and in the action section.piso2007-02-151-0/+13
| | | | Approved by: glebius (mentor)
* Enhances mdmfs(8) to mount md-based device such as uzip.matteo2007-02-151-4/+9
| | | | | | | Examples of use can be found in the PR text. PR: 103501 MFC after: 1 week
* Catch up file descriptor printing function in DDB to the addition of kqueuesrwatson2007-02-151-0/+4
| | | | and POSIX message queues.
* Break file descriptor printing logic out of db_show_files() intorwatson2007-02-151-9/+32
| | | | | db_print_file(), and add a new "show file <ptr>" DDB command, which can be used to print out file descriptors referenced in stack traces.
* Rename somaxconn_sysctl() to sysctl_somaxconn() so that I will be able torwatson2007-02-151-3/+3
| | | | claim that sofoo() functions all accept a socket as their first argument.
* If both ISDOTDOT and NOCROSSMOUNT are set then lookup() might breaks outkib2007-02-151-3/+4
| | | | | | | | | of the special handling for ".." and perform an ISDOTDOT VOP_LOOKUP() for a filesystem root vnode. Handle this case inside lookup(). Submitted by: tegge PR: 92785 MFC after: 1 week
* Style(9).kib2007-02-151-5/+11
|
* It turns out that it is easier to not NULL out pccard and cardbusimp2007-02-152-15/+7
| | | | | | | | device pointers. They don't change as the children device drivers come and go. Rather, check to see if the device is attached where we would have checked ! NULL. This solves many asymmetries in the code that likely could lead to crashes when loading/unloading cbb without one or more of the expected children's driver not present.
* Fix three bugs:imp2007-02-151-6/+25
| | | | | | | | | | o When detaching all children, try really hard to get all the children list before giving up. This is based on an observation by hans petter selasky in his usb p4 branch. o When rescanning devices after a driver is added, abort if we can't get the child list with a message. o when rescanning devices, if the reprobe/attach is successful, save the device for cardbus/pccard.
* pkill(1) and pgrep(1) have been moved to /bin so that they areyar2007-02-151-3/+3
| | | | available to rc.d scripts early in the boot sequence.
* Don't be paranoid about hostname(1) and order the things logically.yar2007-02-151-1/+1
| | | | Pointed out by: ceri
* Don't nag about unset $hostname if DHCP is in use.yar2007-02-151-1/+6
| | | | Pointed out by: ceri
* Unbreak non-H/W VLAN extraction case.yongari2007-02-151-2/+4
| | | | | | | | | | | | Unlike other GigEs Yukon II always set VLAN bit when it detects VLAN tagged packet regardless of H/W VLAN processing configuration state. So it need to check IFCAP_VLAN_HWTAGGING bit to know whether driver is configured to take advantage of H/W VLAN processing. If H/W VLAN processing was disabled don't adjust received packet length such that subsequent validation logic works for software VLAN processing. Reported by: bms Tested by: bms
* Relax the page queue lock assertions in vm_page_remove() andalc2007-02-151-2/+3
| | | | | | | | vm_page_free_toq() to account for recent changes that allow vm_page_free_toq() to be called on some pages without the page queues lock being held, specifically, pages that are not contained in a vm object and not a member of a page queue. (Examples of such pages include page table pages, pv entry pages, and uma small alloc pages.)
* Kill blank line at EOF.trhodes2007-02-151-1/+0
|
* Hook ypclnt.3 up to the build.trhodes2007-02-151-0/+1
|
* Add a ypclnt.3 manual page referenced by various other YP based manual pages.trhodes2007-02-151-0/+362
| | | | | PR: 108980 Obtained from: OpenBSD (minimal changes for mdoc(7) style)
* Teach DDB how to print sockets, socket buffers, protosw's, and domainrwatson2007-02-152-0/+531
| | | | structures given pointers to them.
* Fix accidental removal of an empty line from the previous commit.jkim2007-02-151-0/+1
|
* Regen.jkim2007-02-153-4/+10
|
* MFP4: 113033jkim2007-02-152-2/+20
| | | | Port iopl(2) from i386. This fixes LTP iopl01 and iopl02 on amd64.
* Regen.jkim2007-02-153-5/+12
|
* MFP4: 113025, 113146, 113177, 113203, 113500, 113546, 113570jkim2007-02-155-115/+119
| | | | | | | | - PROT_READ, PROT_WRITE, or PROT_EXEC implies PROT_READ and PROT_EXEC. Linux/ia64's i386 emulation layer does this and it complies with Linux header files. This fixes mmap05 LTP test case on amd64. - Do not adjust stack size when failure has occurred. - Synchronize i386 mmap/mprotect with amd64.
* Default output to stdout as the man page suggests.brian2007-02-141-3/+1
|
* Only go through our cylinder group and inode info when we need to.brian2007-02-141-45/+49
| | | | This allows ``ffsinfo -o - -l1 /tmp'' to run a lot quicker.
* Re-indent main() in preparation for further changes.brian2007-02-141-126/+87
|
* Adjust the global MSI blacklisting strategy so we don't have to explicitlyjhb2007-02-141-0/+26
| | | | | | | | | blacklist a bunch of old chipsets. If a system contains a PCI-PCI bridge that supports PCI-X, assume the chipset supports PCI-X. If a system contains a PCI-express root port, assume the chipset supports PCI-express. If the chipset doesn't support either PCI-X or PCI-express, then blacklist it by default. We should now only need to explicitly blacklist PCI-X or PCI-express chipsets that don't properly handle MSI.
* - Fix an off by one error in pci_remap_msix_method() that effectivelyjhb2007-02-141-2/+10
| | | | | | broke the method as all the MSI-X table indices were off by one in the backend MD code. - Fix a cosmetic nit in the bootverbose printf in pci_alloc_msix_method().
* Catch up to MSI-X API changes. Tested with both MSI and MSI-X.jhb2007-02-141-8/+23
|
* Use bge_writereg_ind() to do global reset as we did before 1.159 for certainjkim2007-02-141-1/+1
| | | | | | | chipsets. It was causing 'firmware handshake timed out' errors for some chips. Discussed with: scottl
* Fix two typos in comments.jkim2007-02-141-2/+2
|
* Fix a typo from the previous commit.jkim2007-02-141-1/+1
| | | | Pointed out by: brad@openbsd.org
* Add missing 'break' that in this case is harmless.jhb2007-02-141-0/+1
|
* Fix compilation for statically linked snd_envy24{ht}/spicds. Use explicitariff2007-02-143-3/+3
| | | | | | struct mtx rather than void pointer. PR: kern/109147
* Minor rearrangement of global variables, comments, etc, in UNIX domainrwatson2007-02-141-37/+34
| | | | sockets.
OpenPOWER on IntegriCloud