summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Some machines can not only consist of CPUs running at different speedsmarius2010-02-211-2/+2
| | | | | | | | | | | but also of different types, f.e. Sun Fire V890 can be equipped with a mix of UltraSPARC IV and IV+ CPUs, requiring different MMU initialization and different workarounds for model specific errata. Therefore move the CPU implementation number from a global variable to the per-CPU data. Functions which are called before the latter is available are passed the implementation number as a parameter now. This file was missed in r204152.
* Since create_pagetables() zeroes the page tables, pmap_bootstrap() needn'talc2010-02-211-2/+0
| | | | zero *CMAP1.
* - fix bootstrap for variable KVA_PAGESkmacy2010-02-212-85/+55
| | | | | | | - remove unused CADDR1 - hold lock across page table update MFC after: 3 days
* don't hold spin lock across freekmacy2010-02-211-1/+1
|
* - make printf conditionalkmacy2010-02-211-17/+21
| | | | - fix witness warnings by making configuration lock a mutex
* remove atkbd from default config to avoid pulling in real-mode bios emulationkmacy2010-02-211-3/+3
|
* Add __FBSDID.yongari2010-02-211-2/+3
| | | | Reviewed by: sam
* Increase PCIe maximuim read request size to 2048. Because re(4) usesyongari2010-02-211-0/+3
| | | | | | | | Tx DMA burst size 2048, I beleive PCIe maximum read request size also should match to the value of Tx DMA burst size. With this change I can get more than 800Mbps for TCP bulk transfers. Previously I was not able to get more than 700Mbps. If I enable TSO it now shows 927Mbps.
* Starting with UltraSPARC IV CPUs the CPU caches are described with differentmarius2010-02-201-19/+37
| | | | OFW properties.
* Some machines can not only consist of CPUs running at different speedsmarius2010-02-2020-69/+84
| | | | | | | | | but also of different types, f.e. Sun Fire V890 can be equipped with a mix of UltraSPARC IV and IV+ CPUs, requiring different MMU initialization and different workarounds for model specific errata. Therefore move the CPU implementation number from a global variable to the per-CPU data. Functions which are called before the latter is available are passed the implementation number as a parameter now.
* Add TSO support on VLAN. Controller requires VLAN hardware taggingyongari2010-02-201-8/+10
| | | | | | to make TSO work on VLAN. So if VLAN hardware tagging is disabled explicitly clear TSO on VLAN. While I'm here remove duplicated VLAN_CAPABILITIES call.
* Add TSO support on VLAN in fconfig(8).yongari2010-02-203-8/+10
| | | | Reviewed by: thompsa
* Add TSO support on VLANs. Intentionally separated IFCAP_VLAN_HWTSOyongari2010-02-202-1/+17
| | | | | | | | from IFCAP_VLAN_HWTAGGING. I think some hardwares may be able to TSO over VLAN without VLAN hardware tagging. Driver changes and userland support will follow. Reviewed by: thompsa
* Set curvnet earlier so that it also covers calls to sodisconnect(), whichbz2010-02-201-2/+3
| | | | | | | before were possibly panicing the system in ULP code in the VIMAGE case. Submitted by: Igor (igor ispsystem.com) MFC after: 5 days
* Correct inversed programming of ethernet hardware address onyongari2010-02-201-10/+16
| | | | | | big-endian architecture. Submitted by: C. Jayachandran <c.jayachandran at gmail dot com> (initial version)
* Start to implement ifnet DDB support:bz2010-02-201-0/+81
| | | | | | | | | | | | | | - 'show ifnets' prints a list of ifnet *s per virtual network stack, - 'show ifnet <struct ifnet *>' prints fields matching the given ifp. We do not yet print the complete set of fields and might want to factor this out to an extra if_debug.c file in case this grows a lot[1]. We may also want to grow 'show ifnet <if_xname>' support[1]. Sponsored by: ISPsystem Suggested by: rwatson [1] Reviewed by: rwatson MFC after: 5 days
* Add support for BCM54K2 found in combination with Apple K2 GMAC.marius2010-02-202-0/+27
| | | | | | Submitted by: Andreas Tobler Obtained from: OpenBSD MFC after: 1 week
* Upon virtual network stack teardown properly release the TCP syncachebz2010-02-201-2/+24
| | | | | | | | resources. Sponsored by: ISPsystem Reviewed by: rwatson MFC After: 5 days
* Enhance a panic string to contain more useful debugging information.bz2010-02-201-1/+2
| | | | | | Sponsored by: ISPsystem Reviewed by: rwatson MFC after: 5 days
* Fix handling of SHUTDOWN-ACK chunk in COOKIE_WAIT and COOKIE_ECHOED.tuexen2010-02-203-6/+24
| | | | MFC after: 1 week
* Split up ip_drain() into an outer lock and iterator part andbz2010-02-203-8/+40
| | | | | | | | | | | | a "locked" version that will only handle a single network stack instance. The latter is called directly from ip_destroy(). Hook up an ip_destroy() function to release resources from the legacy IP network layer upon virtual network stack teardown. Sponsored by: ISPsystem Reviewed by: rwatson MFC After: 5 days
* Eliminate an unused declaration.alc2010-02-201-2/+0
|
* These contain JC's patch to get gdb sort of workingrrs2010-02-205-18/+28
| | | | | | | | | | | | on mips. Its not fully done yet but its a start. Obtained from: JC - c.jayachandran@gmail.com M gnu/usr.bin/gdb/kgdb/trgt_mips.c M gnu/usr.bin/gdb/arch/mips/init.c M gnu/usr.bin/gdb/arch/mips/Makefile M gnu/usr.bin/Makefile M contrib/gdb/gdb/mips-tdep.h
* Fix for the rge driver for boards without rge6 and rge7.rrs2010-02-202-5/+24
| | | | | - changes to avoid adding theses instances on specific chips Obtained from: C. Jayachandran - JC - c.jayachandran@gmail.com
* Changes for pci and pci-e supportrrs2010-02-204-164/+1112
| | | | | | | | - add bus_space_rmi_pci.c for PCI bus space - files.xlr update for changes in files - pcibus.c merged into xlr_pci.c (they were small files with inter-dependencies) - xlr_pci.c - lot of changes here with few fixes, formatting cleanup Obtained from: C. Jayachandran (JC) - c.jayachandran@gmail.com
* Opps forgot to add this:rrs2010-02-201-0/+760
| | | | | | - add bus_space_rmi_pci.c for PCI bus space Obtained from: C. Jayachandran - <c.jayachandran@gmail.com>
* Cleanups for sys/mips/rmi/bus_space_rmi.crrs2010-02-201-175/+30
| | | | | | | | | - remove pci related code from bus_space_rmi.c, we will have another file for PCI bus space functions which will do byte-swapping. - remove local SWAP implementation - added TODO stub for unimplemented functions Obtained from: C. Jayachandran - c.jayachandran@gmail.com
* Some fixes to the current RMI interrupt handling, changes in this patch are:rrs2010-02-203-35/+45
| | | | | | | | | | | | | | | - (cleanup) remove rmi specific 'struct mips_intrhand' - this is no longer needed since 'struct intr_event' have all the required hooks - add xlr_cpu_establish_hardintr, which has args for pre/post ithread and filter hooks, so that the PCI code can add the PCI controller interrupt ack code here - make 'cpu_establish_hardintr' use the above function. - (fix) change type of eirr/eimr from register_t to uint64_t. These have to be 64bit otherwise we cannot handle interrupts from 32. - (fix) use eimr to mask eirr before checking interrupts, so that we will not handle masked interrupts. Obtained from: C. Jayachandran - c.jayachandran@gmail.com
* Enable NETIF_OPEN_CLOSE_ONCE on PowerPC OFW. This fixes netbooting onnwhitehorn2010-02-201-0/+5
| | | | | | | PowerPC Book-S hardware, which had been broken for a very long time. Submitted by: Andreas Tobler MFC after: 1 week
* Reduce KVA pressure on OEA64 systems running in bridge mode by mappingnwhitehorn2010-02-206-71/+46
| | | | | | | | | | | | | UMA segments at their physical addresses instead of into KVA. This emulates the direct mapping behavior of OEA32 in an ad-hoc way. To make this work properly required sharing the entire kernel PMAP with Open Firmware, so ofw_pmap is transformed into a stub on 64-bit CPUs. Also implement some more tweaks to get more mileage out of our limited amount of KVA, principally by extending KVA into segment 16 until the beginning of the first OFW mapping. Reported by: linimon
* Turn on experimental support for DEEPNAP on the 970MP.nwhitehorn2010-02-201-2/+10
|
* Merge r198724 to Book-E. casuword() non-atomically read the current valuenwhitehorn2010-02-201-2/+13
| | | | | | of its argument before atomically replacing it, which could occasionally return the wrong value on an SMP system. This resulted in user mutex operations hanging when using threaded applications.
* Add a regression test for the kthread(9) interface.attilio2010-02-202-0/+214
| | | | | Submitted by: Giovanni Trematerra <giovanni dot trematerra at gmail dot com>
* Show the cpu info for fa526kevlo2010-02-203-1/+7
| | | | Submitted by: Yohanes Nugroho <yohanes at gmail dot com>
* Correct both FA526/FA626TE cpu ids since the cpu id is alwayskevlo2010-02-201-2/+2
| | | | masked with 0xfffffff0
* Remove redundant inclusion of <sys/cdefs.h>.ed2010-02-201-2/+0
| | | | | In my previous commit I should have moved the inclusion to the top, instead of adding a second one.
* Add <sys/cdefs.h>.ed2010-02-201-0/+2
| | | | | | This header file uses __packed, without including <sys/cdefs.h>. This means it cannot be used in the way described in sysarch(3) by only including <machine/sysarch.h>.
* Fix common misspelling of hierarchyuqs2010-02-2011-14/+14
| | | | | Pointed out by: bf1783 at gmail Approved by: np (cxgb), kientzle (tar, etc.), philip (mentor)
* - More style(9) fixupsgabor2010-02-201-26/+29
| | | | Approved by: delphij (mentor)
* Fix DDB backtrace that includes a kernel exception frame.neel2010-02-201-2/+14
| | | | | | | | | | | | The backtrace code tries to look for an instruction of the form "sw ra, x(sp)" to figure out the program counter of the calling function. When we generate the kernel exception frame we store the 'ra' at the time of the exception using an instruction of the same form. The problem is that the 'ra' at the time of the exception is not the same as the 'program counter' at the time of the exception. The fix is to save the 'exception program counter' register by staging it through the 'ra' register.
* Get rid of unused options: KERNPHYSADDR, KERNVIRTADDR, PHYSADDR, PHYS_ADDR_64BITneel2010-02-209-17/+0
| | | | Discussed with: gonzo, imp
* Treat numbers after [Ee] a positive number rather than an invaliddelphij2010-02-201-1/+2
| | | | one.
* Avoid corrupting the list or queue if _REMOVE is invoked with aemaste2010-02-201-6/+14
| | | | | | | reference to the head. PR: kern/119307 MFC After: 1 week
* Return partially filled buffer for non-blocking read(2)jkim2010-02-201-6/+15
| | | | | | in non-immediate mode. PR: kern/143855
* Add a reference to newly added seq(1) command.delphij2010-02-201-1/+2
| | | | | Submitted by: jilles MFC after: 3 months
* Add seq(1), a small utility to generate sequence number.delphij2010-02-194-0/+648
| | | | | Obtained from: NetBSD MFC after: 3 months
* Hook up nfs_common missed in r203968.marius2010-02-191-0/+1
| | | | Submitted by: kib
* Don't set f_bsize to recordsize. It might confuse some software (like squid).pjd2010-02-191-5/+6
| | | | | Submitted by: Alexander Zagrebin <alexz@visp.ru> MFC after: 2 weeks
* Correct spelling of reseting (found while researching the "bb hang detected"deischen2010-02-191-19/+19
| | | | messages that are plaguing me). While I'm here, delete trailing whitespace.
* * Fix another u_long -> uint32_t issue.tuexen2010-02-192-4/+12
| | | | | | | | * Remove an unused global variable. * Fix an issue reported by Bruce Cran related to reusing SCTP socket which where connected. MFC after: 1 week
OpenPOWER on IntegriCloud