summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add in the work-around for the AR8316 gige switch PHY.adrian2011-05-021-1/+5
| | | | | | This allows the ethernet to function on the PB92 board. Submitted by: Luiz Otavio O Souza
* Add -Wmissing-include-dirs to CWARNFLAGS, so tinderbox will punish thosebrucec2011-05-021-10/+11
| | | | | | | | | developers committing new code with broken include directories. Fix a few whitespace issues. Improve a couple of comments. -W is now deprecated and is referred to as -Wextra (see gcc(1)). Submitted by: arundel
* o OpenBSD 4.9 added.maxim2011-05-021-1/+2
|
* Add documentation to sys/conf/options pointing out that AH_SUPPORT_AR9130adrian2011-05-021-0/+3
| | | | | shouldn't be enabled by default unless you're truely building for the AR913x platform.
* Fix nfsstat.1 to indicate that "-z" now works forrmacklem2011-05-011-2/+1
| | | | | | | the new NFS subsystems after r221308. This is a content change. MFC after: 2 weeks
* Fix nfsstat so that the "-z" option works for thermacklem2011-05-011-3/+6
| | | | | | new NFS subsystem. MFC after: 2 weeks
* Some AR724x PCIe fixes, which should wrap up the first roundadrian2011-05-011-24/+14
| | | | | | | | | | | | | | | | of endian-ness issues with the AR724x. From Luiz: * Fix the bus space tag used so endian-ness is correctly handled; * Only do the workaround for the AR7240; AR7241/AR7242 (PB92) don't require this From me: * Add a read flush from openwrt Submitted by: Luiz Otavio O Souza
* Add the kernel support needed to zero out the nfsstatsrmacklem2011-05-012-0/+3
| | | | | | | structure for the new NFS subsystem. This will be used by nfsstats.c to implement the "-z" option. MFC after: 2 weeks
* Minor cleanup.brueffer2011-05-011-3/+2
|
* recoverdisk(8): treat output file consistently and abort on EINVALuqs2011-05-012-26/+42
| | | | | | | | | | | | | | | This improves usability a little as we no longer require using touch. Also reword the manpage wrt. parameters and fix usage() [1] With no media in a cd(4) drive, the reads will loop producing EINVAL, abort in that case [2]. Document the shortcoming of sectorsize and MAXPHYS (a quick solution to this might be having MAXPHYS as the "bigsize", in short testing it didn't make a difference on throughput). Submitted by: arundel [1] PR: bin/154528 [2]
* Let users' PATH decide which groff suite to pick up.uqs2011-05-011-7/+9
| | | | | | | | | Let groff pass the -c flag to grotty, which will turn off ANSI sequences. While these are not a problem for our more/less, they get mangled by col(1) and this will result in garbage output. This makes man(1) work together with textproc/groff, in case the user decided to delete the old groff from base (-DWITHOUT_GROFF).
* These are of course i386/amd64 only.bschmidt2011-05-011-8/+0
|
* Add files for wpi(4)bschmidt2011-05-011-0/+1
|
* No need for htole32(), which is an uint8_t.bschmidt2011-05-011-2/+2
|
* Fix typo in manpage resolvconf.conf(5).ume2011-05-011-1/+1
| | | | | | | PR: docs/156494 Submitted by: bcr Requested by: bcr Obtained from: http://roy.marples.name/projects/openresolv/ticket/12
* Add the remaining wireless drivers.bschmidt2011-05-013-0/+35
| | | | Discussed with: joel
* Fix the Makefile for mount_nfs so that it creates armacklem2011-05-011-1/+1
| | | | link for mount_oldnfs.8 instead of mount_newnfs.8.
* Add ChangeLog.gcc43 for backported changes from gcc 4.3mm2011-04-301-0/+163
| | | | MFC after: 3 days
* Fix typos.kib2011-04-301-2/+2
| | | | | | Noted by: Fabian Keil <freebsd-listen fabiankeil de> Pointy hat to: kib MFC after: 1 week
* Stop linking against a direct-mapped virtual address and insteadmarcel2011-04-3014-308/+527
| | | | | | | | | | | use the PBVM. This eliminates the implied hardcoding of the physical address at which the kernel needs to be loaded. Using the PBVM makes it possible to load the kernel irrespective of the physical memory organization and allows us to replicate kernel text on NUMA machines. While here, reduce the direct-mapped page size to the kernel's page size so that we can support memory attributes better.
* LACP frames must not be send VLAN-tagged, check for that before processing.thompsa2011-04-301-1/+1
| | | | | | PR: kern/156743 Submitted by: Dmitrij Tejblum MFC after: 1 week
* Turn PBVM page table entries into PTEs so that they can be insertedmarcel2011-04-302-11/+22
| | | | | | into the TLB as-is. While here, have ia64_platform_alloc() return ~0UL on failure.
* Update carp, gre and pf module builds to be depenent on INET and/orbz2011-04-302-3/+15
| | | | | | | | | INET6_SUPPORT. Reviewed by: gnn (slightly earlier version without pf) Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 2 weeks
* Introduce two new options MK_INET and MK_INET_SUPPORT analogicallybz2011-04-304-2/+20
| | | | | | | | | | with INET6 equivalents. Patch reather than re-genenerating src.conf (given the current problem with the script that does the re-gen). Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 2 weeks
* Allow MKMODULESENV being preset from other sources like makeoptionsbz2011-04-301-1/+1
| | | | | | | | | | kernel configurations to apply WITH_* WITHOUT_* knobs we use for module building as well to restrict or control opt_*.h flags. Reviewed by: imp, + Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 2 weeks
* Fix a mismerge from p4 in that in_localaddr() is not available without INET.bz2011-04-301-1/+5
| | | | | | Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 4 days
* Fix deduplicated zfs receivemm2011-04-302-58/+37
| | | | | | | | | | (dmu_recv_stream builds incomplete guid_to_ds_map) Illumos-gate changeset: 13329:c48b8bf84ab7 MFC together with v28 Approved by: pjd Obtained from: Illumos (Bug #755)
* Fis a problem with r221258 that mac is still needed in case for ient6 onlybz2011-04-301-1/+1
| | | | | | | for mac_inet.c. Reported by: Luiz Otavio O Souza (lists.br gmail.com) MFC after: 4 days
* Clarify the comment.kib2011-04-302-3/+6
| | | | MFC after: 1 week
* After r221249 allow SCTP to be compiled in an IPv6 only environment as well.bz2011-04-301-15/+15
| | | | | | Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 10 days
* An example configuration file for the Atheros PB92.adrian2011-04-302-0/+165
| | | | | | | TODO: * pcie doesn't yet work properly, I'm working on it. * if_arge doesn't work - it's likely the phy mask is wrong; again I'm working on it.
* Add some more missing optional dependencies on inet6, not only inet,bz2011-04-301-4/+4
| | | | | | | | | | to get the files for an IPv6 only kernel as well, remove extra inet6 option where not needed. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 4 days
* The AR724x SoC's require the irq status line to be acked/cleared.adrian2011-04-301-0/+15
| | | | | | | This allows console IO to occur correctly once the kernel is in multi-user mode. Submitted by: Luiz Otavio O Souza
* Call the DDR FIFO flush method when IP2 interrupts occur.adrian2011-04-301-0/+3
|
* Flip off debugging for now.adrian2011-04-301-1/+1
|
* Add some initial PCIe bridge support for the AR724x chipsets.adrian2011-04-303-2/+636
| | | | | | | | | | | | This is reported to work on the AR7240 based Ubiquiti Rocket M5 but I haven't tested it on that hardware. I also don't yet have it fully working on the AR7242 based development board here; probe/attach functions but the register space resource looks like the endian-ness is wrong (0x10000000 instead of 0x00001000).o Further digging will be required. Submitted by: Luiz Otavio O Souza
* Add UPDATING entry for the AR71xx config changesadrian2011-04-301-0/+4
|
* In preparation for the AR724x PCIe bus code, make the AR71xx PCI busadrian2011-04-302-1/+2
| | | | | | | | | | glue require 'device ar71xx_pci' . Users of the AR71xx board configs will now require this for functioning PCI: device pci device ar71xx_pci
* Remove some leftover debug code.tuexen2011-04-301-2/+0
| | | | MFC after: 1 week
* Make the TCP code compile without INET. Sort #includes and add #ifdef INETs.bz2011-04-307-97/+278
| | | | | | | | | | | Add some comments at #endifs given more nestedness. To make the compiler happy, some default initializations were added in accordance with the style on the files. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 4 days
* Improve compilation of SCTP code without INET support.tuexen2011-04-3011-1331/+2144
| | | | | | | | | | | | | | Some bugs where fixed while doing this: * ASCONF-ACK messages might use wrong port number when using IPv6. * Checking for additional addresses takes the correct address into account and also does not do more comparisons than necessary. This patch is based on one received from bz@ who was sponsored by The FreeBSD Foundation and iXsystems. MFC after: 1 week
* Make the UDP code compile without INET. Expose udp_usrreq.c to IPv6 onlybz2011-04-303-10/+32
| | | | | | | | | | as well compiling out most functions adding or extending #ifdef INET coverage. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 4 days
* Make the PCB code compile without INET support by adding #ifdef INETsbz2011-04-302-5/+30
| | | | | | | | | and correcting few #includes. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 4 days
* Add a missing DDR FIFO method for the ar71xx.adrian2011-04-301-1/+7
|
* Improve the accuracy from a max ULP of ~2000 to max ULP < 0.79kargl2011-04-295-98/+321
| | | | | | | | | | | | | | | | | | | | on i386-class hardware for sinl and cosl. The hand-rolled argument reduction have been replaced by e_rem_pio2l() implementations. To preserve history the following commands have been executed: svn cp src/e_rem_pio2.c ld80/e_rem_pio2l.h mv ${HOME}/bde/ld80/e_rem_pio2l.c ld80/e_rem_pio2l.h svn cp src/e_rem_pio2.c ld128/e_rem_pio2l.h mv ${HOME}/bde/ld128/e_rem_pio2l.c ld128/e_rem_pio2l.h The ld80 version has been tested by bde, das, and kargl over the last few years (bde, das) and few months (kargl). An older ld128 version was tested by das. The committed version has only been compiled tested via 'make universe'. Approved by: das (mentor) Obtained from: bde
* Add an -E option to mirror newfs's. The idea is that if you have a systemdes2011-04-295-7/+67
| | | | | | | | | | | | | | | | | | | that was built before ffs grew support for TRIM, your filesystem will have plenty of free blocks that the flash chip doesn't know are free, so it can't take advantage of them for wear leveling. Once you've upgraded your kernel, you enable TRIM on the filesystem (tunefs -t enable), then run fsck_ffs -E on it before mounting it. I tested this patch by half-filling an mdconfig'ed filesystem image, running fsck_ffs -E on it, then verifying that the contents were not damaged by comparing them to a pristine copy using rsync's checksum functionality. There is no reliable way to test it on real hardware. Many thanks to mckusick@, who provided the tricky parts of this patch and reviewed the final version. Reviewed by: mckusick@ MFC after: 3 weeks
* Somewhere around the 473rd time I mistyped "mdconfig file" instead ofdes2011-04-292-20/+49
| | | | | | | "mdconfig -f file", I decided that it would be easier to make mdconfig DWIM than to teach my fingers to type the correct command line. MFC after: 3 weeks
* Add a new bus method, BUS_ADJUST_RESOURCE() that is intended to be ajhb2011-04-297-0/+165
| | | | | | | wrapper around rman_adjust_resource(). Include a generic implementation, bus_generic_adjust_resource() which passes the request up to the parent bus. There is currently no default implementation. A bus_adjust_resource() wrapper is provided for use in drivers.
* Implement BIO_DELETE for vnode devices by simply overwriting the deleteddes2011-04-291-0/+42
| | | | | | | | | | | | sectors with all-zeroes. The zeroes come from a static buffer; null(4) uses a dynamic buffer for the same purpose (for /dev/zero). It might be a good idea to have a static, shared, read-only all-zeroes page somewhere in the kernel that md(4), null(4) and any other code that needs zeroes could use. Reviewed by: kib MFC after: 3 weeks
* Rather than trusting that nothing is going to sneak in before thedougb2011-04-291-7/+4
| | | | | | | | | | | | | | | early_late_divider in the second run (and thus be skipped altogether), keep a list of the scripts run early, and use that list to skip things in the second run. This has the primary benefit of not skipping a local script that gets ordered too early in the second run. It also gives an opportunity to clean up/simplify the code a bit. Use a space-separated list rather than the more traditional colon for maximum insurance against creativity in local naming conventions. Reviewed by: brooks
OpenPOWER on IntegriCloud