summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix a stupid bug in the drive taste function: when checking if ale2004-08-181-28/+10
| | | | | | | | | | drive is known to the configuration check also if it already has a geom. Without this check several needless geoms are created and valid configuration data was overwritten. This change obsoletes the need for a separate geom to taste an offered provider and the consumer doesn't need to be opened with the exclusive bit set.
* Initialize iobase from the resource allocated by bus_alloc_resource_any()gibbs2004-08-181-2/+2
| | | | | | rather than with isa_get_port(). This value is only used in diagnostics, but the value we want to print is the value in our resource, not in any hint.
* NOP class doesn't operate on metadata, so the spoil event can be safelypjd2004-08-181-1/+0
| | | | ignored.
* ss if_vx through indent, and use ANSI function definitions, prior to addinggibbs2004-08-185-1018/+990
| | | | | if_media and DMA support to the driver. The previous style was inconsistent making it difficult to emulate existing style.
* Dump device status on 'list' command.pjd2004-08-181-0/+2
|
* - Add a manual page for graid3(8) utility.pjd2004-08-183-1/+213
| | | | | - Connect it to the build. - Inform geom(8) about it.
* If _CRS fails, assume that it succeeded. The ASUS K8V (and others) definesnjl2004-08-181-2/+1
| | | | | single-entry irq links even though it uses an APIC. It appears that it ignores _SRS when in APIC mode but returns a valid irq at other times.
* Add a line to BUGS section about the need of implementation description.pjd2004-08-181-0/+2
|
* Invert the polarity of two tests in the recovery code that could causegibbs2004-08-181-2/+2
| | | | | | | | the driver to issue a bus reset more quickly than intended. We want to *wait* if we find another SCB that could be the cause of this timeout, not proceed to a bus reset. Noticed by: kan
* Remove spurious EISA definitions left over from the initial port of thegibbs2004-08-181-13/+0
| | | | aic7xxx driver to U320 hardware.
* Remove ISA attachments dependence on eisaconf.hgibbs2004-08-182-3/+3
| | | | Noticed by: Takahashi Yoshihiro <nyan@jp.FreeBSD.org>
* Changes to make twa work on amd64.vkashyap2004-08-182-2/+2
| | | | | Reviewed by:re Approved by:re
* Add some missing empty lines.pjd2004-08-181-0/+2
|
* Fix typo.pjd2004-08-181-1/+1
|
* Actually one can specify more than one device to stop.pjd2004-08-182-2/+2
|
* Ok, let's try again:pjd2004-08-181-0/+290
| | | | Add manual page for gmirror(8) utility.
* - Add a manual page for gmirror(8) utility.pjd2004-08-182-1/+1
| | | | | | | - Connect it to the build. - Inform geom(8) manual page about it. Reviewed by: trhodes
* Document the effects of modifying the .MAKEFLAGS internalru2004-08-181-1/+24
| | | | | | | variable and using the .MAKEFLAGS special target, and the differences between them. Reviewed by: harti
* A fix from rev. 1.52 of gnu/usr.bin/cc/cc_tools/Makefile was lostru2004-08-182-11/+1
| | | | | | | | | in rev. 1.57. Fix this regression by making cc_tools a new-style build-tool in Makefile.inc1. For details of what has been fixed, please see the gnu/usr.bin/cc/cc_tools/Makefile,v 1.52 commit log. Caught this by accidentally touching param.h while in the process of cross-buildworld for amd64.
* Enable build of Netgraph modules on all architectures.ru2004-08-181-3/+1
| | | | Tested by: make universe
* Build a dummy opt_compat.h header since linprocfs.c now requires it.tjr2004-08-181-1/+5
|
* Remove NOMAN so loader man pages are installed.grehan2004-08-182-2/+0
| | | | Noticed by: ru
* PPC definitions required for 'make release'grehan2004-08-181-1/+6
| | | | | Reviewed by: ru Submitted by: ssouhlal
* Allow MFS images to be built without a disklabel for releasesgrehan2004-08-181-4/+8
| | | | | | | that don't require one i.e. PPC. Reviewed by: ru Submitted by: ssouhlal
* Add files needed for PPC release ISOs. These are built with thegrehan2004-08-184-0/+104
| | | | | | | | | | | HFS/ISO9660 extensions to be bootable on Power Macs. boot.tbxi - the CHRP script executed by Open Firmware when auto-booting CDs hfs.map - map Unix files to HFS creator/type fields Reviewed by: ru Submitted by: ssouhlal
* Always allocate a TLS area even if its empty - libpthread relies ondfr2004-08-181-7/+4
| | | | | | having a valid %gs when it initialises. MFC after: 2 days
* Bump the manpage date.maxim2004-08-181-1/+1
| | | | Noticed by: ru
* Retire hw.pci.allow_unsupported_io_range.maxim2004-08-182-11/+0
| | | | | PR: bin/70533 Submitted by: Gavin Atkinson
* Bump synchronization ID if we are sure, that we have ACTIVE components.pjd2004-08-181-7/+9
|
* My take at improving the universe: allow the worlds to beru2004-08-181-11/+16
| | | | | | | | | | | | | | | | | | | | | | | | built in parallel. Examples: make universe Build worlds sequentially, each world sequentially. make universe JFLAG=-j4 Build worlds sequentially, each world in parallel. make -j4 universe make -j4 universe JFLAG=-j2 Build four worlds in parallel, each world will be built in parallel too. World parallelization is set to four in the first synopsis, and to two in the second. make -j4 universe JFLAG=-B Build worlds in parallel, each world sequentially. ("world" == buildworld followed by buildkernels.) Prayers: obrien, phk
* Add a HARDWARE section to the example section 4 manual page.simon2004-08-181-1/+12
| | | | | Reviewed by: ru MFC after: 3 days
* Call AcpiLeaveSleepState() before DEVICE_RESUME(). The former calls thenjl2004-08-181-2/+2
| | | | | | | BFS and WAK methods, which are needed to initialize some devices before the driver can resume them. This was the original order. MFC after: 2 days
* Moved the MAKEOBJDIRPREFIX check from Makefile.inc1 to Makefile,ru2004-08-182-7/+6
| | | | | to suppress warnings with installworld and distributeworld when env(1) cannot be found in the PATH.
* Turn on the FreeBSD login user capabilities database support.obrien2004-08-181-1/+1
|
* NetBSD has updated their groff to a version that handles .Nm the sameobrien2004-08-182-12/+6
| | | | way ours does. So use the vendor files now.
* Merge rev 1.2 (OPIE, login user capabilities database, PAM) supportobrien2004-08-181-84/+272
| | | | into 'nbsd_20040809'.
* This commit was generated by cvs2svn to compensate for changes in r133936,obrien2004-08-1812-151/+185
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import of LukeM's ftpd taken from the NetBSD CVS repo on 9-Aug-2004.obrien2004-08-1815-242/+407
| | | | | | | | | | | | This closes the remotely exploitable vulnerability documented at ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2004-009.txt.asc http://www.vuxml.org/freebsd/c4b025bb-f05d-11d8-9837-000c41e2cdad.html
* | When one entry in the RSDT is corrupted, just skip it instead of bailing out.njl2004-08-181-2/+5
| | | | | | | | | | | | | | | | | | This gets us the info we need on systems which have proprietary tables that don't match the standard. For instance, an AMI system has a table of type "OEMB" with an invalid checksum. Tested by: Maxim Maximov <mcsi_at_mcsi.pp.ru> MFC after: 1 day
* | Update man page for supported table types.njl2004-08-181-5/+2
| | | | | | | | MFC after: 1 day
* | Remove the ACPIIO_ENABLE and ACPIIO_DISABLE ioctls as well as allnjl2004-08-185-92/+10
| | | | | | | | | | | | | | | | | | | | callers. These ioctls attempted to enable and disable the ACPI interpreter at runtime. In practice, it is not possible to boot with ACPI and then disable it on many systems and trying to do so can cause crashes, interrupt storms, etc. Binary compatibility with userland is retained. MFC after: 2 days
* | This commit was generated by cvs2svn to compensate for changes in r133931,njl2004-08-181-1/+2
|\ \ | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Add a padding member to the header overlaid on data allocated in thenjl2004-08-181-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | ACPI_DEBUG case. Without this, use of allocated memory is unaligned and causes a trap on ia64. Intel may fix this differently in a subsequent release but this is adequate for now. Submitted by: marcel MFC after: 2 days
* | | Assert Giant in fwe_start(), as it is not yet MPSAFE.rwatson2004-08-181-0/+2
| | |
* | | Since pc98 shares the AGP driver with the i386, also define therwatson2004-08-181-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | amd64 agp option here in order to let the pc98 kernel build complete. This doesn't seem right, since there probably aren't plans to build a pc98 amd64 box; however, it's not clear to me how to get config to generate an opt_agp.h without an option defined.
* | | We're not yet ready for BURN_BRIDGES to break the build, asrwatson2004-08-181-0/+2
| | | | | | | | | | | | | | | BURN_BRIDGES won't be removed for a bit yet. Fix more of the build in HEAD.
* | | Fix build of ip_input.c with "options IPSEC" -- the "pass:" labelrwatson2004-08-181-1/+1
| | | | | | | | | | | | | | | is used with both FAST_IPSEC and IPSEC, but was defined for only FAST_IPSEC.
* | | Make the kernel compile again if you are not using PFIL_HOOKSpeter2004-08-181-0/+4
| | |
* | | HEAD is now 6-CURRENTscottl2004-08-182-2/+2
| | |
* | | Convert ipfw to use PFIL_HOOKS. This is change is transparent to userlandandre2004-08-1720-852/+655
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and preserves the ipfw ABI. The ipfw core packet inspection and filtering functions have not been changed, only how ipfw is invoked is different. However there are many changes how ipfw is and its add-on's are handled: In general ipfw is now called through the PFIL_HOOKS and most associated magic, that was in ip_input() or ip_output() previously, is now done in ipfw_check_[in|out]() in the ipfw PFIL handler. IPDIVERT is entirely handled within the ipfw PFIL handlers. A packet to be diverted is checked if it is fragmented, if yes, ip_reass() gets in for reassembly. If not, or all fragments arrived and the packet is complete, divert_packet is called directly. For 'tee' no reassembly attempt is made and a copy of the packet is sent to the divert socket unmodified. The original packet continues its way through ip_input/output(). ipfw 'forward' is done via m_tag's. The ipfw PFIL handlers tag the packet with the new destination sockaddr_in. A check if the new destination is a local IP address is made and the m_flags are set appropriately. ip_input() and ip_output() have some more work to do here. For ip_input() the m_flags are checked and a packet for us is directly sent to the 'ours' section for further processing. Destination changes on the input path are only tagged and the 'srcrt' flag to ip_forward() is set to disable destination checks and ICMP replies at this stage. The tag is going to be handled on output. ip_output() again checks for m_flags and the 'ours' tag. If found, the packet will be dropped back to the IP netisr where it is going to be picked up by ip_input() again and the directly sent to the 'ours' section. When only the destination changes, the route's 'dst' is overwritten with the new destination from the forward m_tag. Then it jumps back at the route lookup again and skips the firewall check because it has been marked with M_SKIP_FIREWALL. ipfw 'forward' has to be compiled into the kernel with 'option IPFIREWALL_FORWARD' to enable it. DUMMYNET is entirely handled within the ipfw PFIL handlers. A packet for a dummynet pipe or queue is directly sent to dummynet_io(). Dummynet will then inject it back into ip_input/ip_output() after it has served its time. Dummynet packets are tagged and will continue from the next rule when they hit the ipfw PFIL handlers again after re-injection. BRIDGING and IPFW_ETHER are not changed yet and use ipfw_chk() directly as they did before. Later this will be changed to dedicated ETHER PFIL_HOOKS. More detailed changes to the code: conf/files Add netinet/ip_fw_pfil.c. conf/options Add IPFIREWALL_FORWARD option. modules/ipfw/Makefile Add ip_fw_pfil.c. net/bridge.c Disable PFIL_HOOKS if ipfw for bridging is active. Bridging ipfw is still directly invoked to handle layer2 headers and packets would get a double ipfw when run through PFIL_HOOKS as well. netinet/ip_divert.c Removed divert_clone() function. It is no longer used. netinet/ip_dummynet.[ch] Neither the route 'ro' nor the destination 'dst' need to be stored while in dummynet transit. Structure members and associated macros are removed. netinet/ip_fastfwd.c Removed all direct ipfw handling code and replace it with the new 'ipfw forward' handling code. netinet/ip_fw.h Removed 'ro' and 'dst' from struct ip_fw_args. netinet/ip_fw2.c (Re)moved some global variables and the module handling. netinet/ip_fw_pfil.c New file containing the ipfw PFIL handlers and module initialization. netinet/ip_input.c Removed all direct ipfw handling code and replace it with the new 'ipfw forward' handling code. ip_forward() does not longer require the 'next_hop' struct sockaddr_in argument. Disable early checks if 'srcrt' is set. netinet/ip_output.c Removed all direct ipfw handling code and replace it with the new 'ipfw forward' handling code. netinet/ip_var.h Add ip_reass() as general function. (Used from ipfw PFIL handlers for IPDIVERT.) netinet/raw_ip.c Directly check if ipfw and dummynet control pointers are active. netinet/tcp_input.c Rework the 'ipfw forward' to local code to work with the new way of forward tags. netinet/tcp_sack.c Remove include 'opt_ipfw.h' which is not needed here. sys/mbuf.h Remove m_claim_next() macro which was exclusively for ipfw 'forward' and is no longer needed. Approved by: re (scottl)
OpenPOWER on IntegriCloud