summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Make again BSD ar(1) the default system ar(1), now properly handlingru2008-02-251-1/+1
| | | | | | | | | | | | | source upgrades by falling back to GNU ar(1) as necessary. Option WITH_BSDAR is gone. Option _WITH_GNUAR to aid in upgrades is *not* supposed to be set by the user. Stop bootstrapping BSD ar(1) on the next __FreeBSD_version bump, as there are no known bugs in it. Bump __FreeBSD_version to anticipate this and to flag the switch to BSD ar(1), should it be needed for something. Input from: obrien, des, kaiw
* Some PS/2 mice (at least the A4Tech X-7xx) need to be set to Intelli moderink2008-02-251-0/+7
| | | | | | | | | first before they can be set to Explorer mode. PR: kern/118578 Submitted by: Andriy Gapon <avg@icyb.net.ua> (I added some comments) Reviewed by: philip MFC after: 1 month
* Teach PowerPC CPU identification routines to recognize e500 cores. Fix styleraj2008-02-253-93/+117
| | | | | | | issues in this area. Approved by: cognet (mentor) MFp4: e500
* Let PowerPC world optionally build with -msoft-float. For FPU-less PowerPCraj2008-02-241-1/+5
| | | | | | | | | variations (e500 currently), this provides a gcc-level FPU emulation and is an alternative approach to the recently introduced kernel-level emulation (FPU_EMU). Approved by: cognet (mentor) MFp4: e500
* Correct a long-standing error in vm_object_deallocate(). Specifically,alc2008-02-241-1/+4
| | | | | | | | | | | | | | | | | | | | only anonymous default (OBJT_DEFAULT) and swap (OBJT_SWAP) objects should ever have OBJ_ONEMAPPING set. However, vm_object_deallocate() was setting it on device (OBJT_DEVICE) objects. As a result, vm_object_page_remove() could be called on a device object and if that occurred pmap_remove_all() would be called on the device object's pages. However, a device object's pages are fictitious, and fictitious pages do not have an initialized pv list (struct md_page). To date, fictitious pages have been allocated from zeroed memory, effectively hiding this problem. Now, however, the conversion of rotting diagnostics to invariants in the amd64 and i386 pmaps has revealed the problem. Specifically, assertion failures have occurred during the initialization phase of the X server on some hardware. MFC after: 1 week Discussed with: Kostik Belousov Reported by: Michiel Boland
* Don't define DEBUG. No debugging required.marcel2008-02-241-2/+0
| | | | Pointy hat: marcel
* Introduce some functions in the vnode locks namespace and in the ffsattilio2008-02-2412-21/+27
| | | | | | | | | | | | | | | namespace in order to handle lockmgr fields in a controlled way instead than spreading all around bogus stubs: - VN_LOCK_AREC() allows lock recursion for a specified vnode - VN_LOCK_ASHARE() allows lock sharing for a specified vnode In FFS land: - BUF_AREC() allows lock recursion for a specified buffer lock - BUF_NOREC() disallows recursion for a specified buffer lock Side note: union_subr.c::unionfs_node_update() is the only other function directly handling lockmgr fields. As this is not simple to fix, it has been left behind as "sole" exception.
* Currently, smb_co_init() uses the same lock name for the mutex interlockattilio2008-02-241-8/+9
| | | | | | and the lockmgr. Use different names in order to avoid WITNESS conflicts. Reported by: Bryan Venteicher <bryanv at daemoninthecloset dot org>
* Add table/tablearg support to ipfw's nat.piso2008-02-241-2/+4
| | | | MFC After: 1 week
* o Add module event handler.akiyama2008-02-241-2/+19
| | | | | | | | Now ucom kernel module can unload properly. o Update copyright year. PR: usb/88966 MFC after: 1 week
* Fix shutdown bug made by previous commit.mav2008-02-241-0/+1
|
* Fix namespace collision with sparc macrokmacy2008-02-242-6/+6
|
* Change FreeBSD 7 so that it returns TCP options insilby2008-02-241-2/+5
| | | | | | | | | | | | | | | | | | | | | | the same order that FreeBSD 6 and before did. Doug White and the other bloodhounds at ISC discovered that while FreeBSD 7's ordering of options was more efficient, it caused some cable modem routers to ignore the SYN-ACKs ordered in this fashion. The placement of sackOK after the timestamp option seems to be the critical difference: FreeBSD 6: <mss 1460,nop,wscale 1,nop,nop,timestamp 3512155768 0,sackOK,eol> FreeBSD 7.0: <mss 1460,nop,wscale 3,sackOK,timestamp 1370692577 0> FreeBSD 7.0 + this change: <mss 1460,nop,wscale 3,nop,nop,timestamp 7371813 0,sackOK,eol> MFC after: 1 week
* Resolve warnings exposed by LINT.marcel2008-02-245-26/+5
| | | | | o Put prototypes in a single header only. o Fix printf format specifiers.
* After finishing sending file data in sendfile(2), don't forget to sendcperciva2008-02-241-1/+3
| | | | | | | | | the provided trailers. This has been broken since revision 1.240. Submitted by: Dan Nelson PR: kern/120948 "sounds ok to me" from: phk MFC after: 3 days
* Add prototype for __cmpd2().marcel2008-02-231-0/+1
|
* Add FPU_EMU.marcel2008-02-231-0/+2
|
* remove call to kdb_backtrace()kmacy2008-02-231-1/+0
|
* Hook-up the FPU emulator. It's optional upon FPU_EMU.marcel2008-02-232-0/+12
|
* Bring back (without advertising clause) cmpdi2.c. It's needed on PowerPCmarcel2008-02-231-0/+54
| | | | when the FP emulator is compiled-in.
* Add a floating-point emulator so that a single userland or single ABImarcel2008-02-2313-0/+3880
| | | | | | | | | | can run on processors that don't have a FPU. This is typically the case for Book E processors. While a tuned system will probably want to use soft-float (or use a processor that has a FPU if the usage is FP intensive enough), allowing hard-float on FPU-less systems gives great portability and flexibility. Obtained from: NetBSD
* o Build and install the U-Boot loader as ubldr.marcel2008-02-232-10/+6
| | | | | | o Don't build/install the manual pages or configuration files that are already installed by the OFW loader. o Hook the U-Boot loader to the build.
* style(9) commit.marcel2008-02-231-211/+218
|
* Setup the new bootinfo structure.marcel2008-02-231-36/+99
| | | | While here, make local function static and update copyright.
* o Keep running on U-Boot's stack.marcel2008-02-231-21/+23
| | | | | | | | | | o Disable interrupts while not running U-Boot code. We clobber registers that the U-Boot interrupt handlers assume to be fixed as per the U-Boot register usage. At this time this only applies to r14. U-Boot uses r2 now for what they used r29 for. After we restore r14 in preparation of doing the syscall, we re-enable interrupts. When we return from the syscall, we disable interrupts and restore the callee-saved r14.
* The NFS file system support is conditional upon LOADER_NFS_SUPPORT,marcel2008-02-231-1/+1
| | | | not LOADER_NET_SUPPORT.
* Add __elfN(relocation_offset). It holds the offset between the virtualmarcel2008-02-232-2/+30
| | | | | | | | | | (link) address and the physical (load) address. Ideally, the mapping between link and load addresses should be abstracted by the copyin(), copyout() and readin() functions, so that we don't have to add kluges in __elfN(loadimage)(). Then, we could also have paged virtual memory for the kernel. This can be important under EFI, where you need to allocate physical memory form the firmware if you want to work in all scenarios.
* Define the bootinfo structure for FreeBSD. It is not used onmarcel2008-02-232-73/+56
| | | | AIM, but it's used for BookE.
* o Include glue.hmarcel2008-02-231-12/+10
| | | | o Support multiple memory regions.
* o Build libuboot with -msoft-float like everything else.marcel2008-02-233-50/+88
| | | | | | | o Move the API prototypes to a separate header (glue.h) o Allow the platform to hint libuboot about where to look for the API signature. The uboot_address variable is expected to be defined by the platform.
* Add the appropriate license information. This file is doublemarcel2008-02-231-1/+55
| | | | | | licensed under GPL and BSD. Thanks to: raj@
* We build ficl and libofw with -msoft-float. Build the loadermarcel2008-02-231-1/+1
| | | | with -msoft-float too.
* Fix tinderbox by removing call to kdb_backtracekmacy2008-02-231-1/+0
| | | | MFC after: 3 days
* - update firmware to 5.0kmacy2008-02-2346-4080/+5926
| | | | | | | | | | | | | | | | | - add support for T3C - add DDP support (zero-copy receive) - fix TOE transmit of large requests - fix shutdown so that sockets don't remain in CLOSING state indefinitely - register listeners when an interface is brought up after tom is loaded - fix setting of multicast filter - enable link at device attach - exit tick handler if shutdown is in progress - add helper for logging TCB - add sysctls for dumping transmit queues - note that TOE wxill not be MFC'd until after 7.0 has been finalized MFC after: 3 days
* This patch adds a new ktrace(2) record type, KTR_STRUCT, whose payloaddes2008-02-235-1/+100
| | | | | | | | | | | | | | | | | | | | | | | consists of the null-terminated name and the contents of any structure you wish to record. A new ktrstruct() function constructs and emits a KTR_STRUCT record. It is accompanied by convenience macros for struct stat and struct sockaddr. In kdump(1), KTR_STRUCT records are handled by a dispatcher function that runs stringent sanity checks on its contents before handing it over to individual decoding funtions for each type of structure. Currently supported structures are struct stat and struct sockaddr for the AF_INET, AF_INET6 and AF_UNIX families; support for AF_APPLETALK and AF_IPX is present but disabled, as I am unable to test it properly. Since 's' was already taken, the letter 't' is used by ktrace(1) to enable KTR_STRUCT trace points, and in kdump(1) to enable their decoding. Derived from patches by Andrew Li <andrew2.li@citi.com>. PR: kern/117836 MFC after: 3 weeks
* Fixes a memory leak when VRF's are in play.rrs2008-02-221-0/+4
| | | | | Submitted by: Prasad Narasimha (snprasad@cisco.com) Reviewed by: rrs
* - Takes out stray ifdef code that should not have been present.rrs2008-02-221-5/+0
|
* Sanitize arguments to linux_mremap().kib2008-02-222-0/+18
| | | | | | | | Check that only MREMAP_FIXED and MREMAP_MAYMOVE flags are specified. Check for the page alignment of the addr argument. Submitted by: rdivacky MFC after: 1 week
* MFC after: 4 weeksdavidch2008-02-223-5555/+7977
| | | | | | | | | - Added loose RX MTU functionality to allow frames larger than 1500 bytes to be accepted even though the interface MTU is set to 1500. - Implemented new TCP header splitting/jumbo frame support which uses two chains for receive traffic rather than the original single recevie chain. - Added additional debug support code.
* Add support for the VIA USB2IDE bridge [1].remko2008-02-212-0/+22
| | | | | | | | | PR: usb/95173 Submitted by: Goegele Hannes <diazepam@gmx.net> Ben Kelly <bkelly at vadev dot org> Tested by: blackend Approved by: imp (mentor, blanket for simple patches) X-MFC-After: 1 week
* Back out previous commit. Restore Binutils ar as default. Disconnectkaiw2008-02-211-1/+1
| | | | | | 'BSD' ar to the build. Requested by: des
* * Connect ar(1) to the build and make it default ar. Rename GNUkaiw2008-02-211-1/+1
| | | | | | | | | | | | binutils ar and ranlib to gar and granlib, respectively. * Introduce a temporary variable WITH_GNUAR as a safety net. When buildworld with -DWITH_GNUAR, GNU binutils ar and ranlib will install as default ones and 'BSD' ar will be disabled. * Bump __FreeBSD_version to reflect the import of 'BSD' ar(1). Approved by: jkoshy (mentor)
* Remove WARNS from here and compile with default kernel flags.ru2008-02-211-10/+14
| | | | Switch off those warnings that ZFS sources do not pass.
* Remove WARNS from here and compile with default kernel flags.ru2008-02-213-4/+0
|
* Don't check the bpbSecPerTrack and bpbHeads fields of the BPB.marcel2008-02-211-8/+7
| | | | | They are typically 0 on new ia64 systems. Since we don't use either field, there's no harm in not checking.
* Fix a couple of locking mistakes in the ses_ioctl path.scottl2008-02-201-3/+3
| | | | Submitted by: Matt Jacob
* geom_lvm(4) is now known as geom_linux_lvm(4).thompsa2008-02-201-8/+0
|
* Rename geom_lvm(4) to geom_linux_lvm(4).thompsa2008-02-201-1/+1
| | | | Requested by: des, phk
* geom_lvm(4) is now known as geom_linux_lvm(4).thompsa2008-02-202-1290/+0
|
* Rename geom_lvm(4) to geom_linux_lvm(4).thompsa2008-02-204-3/+11
| | | | Requested by: des, phk
OpenPOWER on IntegriCloud