summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Cosmetic fixes.trasz2010-01-281-19/+19
|
* Add Cavium's standard copyright to those files that are currentlyimp2010-01-2816-6/+624
| | | | | | | lacking a copyright/license statement. All these files were in the Cavium FreeBSD source drop and appear to be written by Cavium (some are nearly verbatim copies of files from the cnusers' 1.9.0 SDK, which also uses this copyright).
* We make it to single user well, but not so well to multi-user. Forceimp2010-01-281-0/+2
| | | | | single user for the moment since that's a better experience for people trying this code out...
* trim unused members of the softc.imp2010-01-281-3/+0
|
* Add description of bounded sleep vs unbounded sleep (aka blocking). Movetrasz2010-01-281-80/+61
| | | | rules into their own section.
* Add myself.uqs2010-01-281-0/+2
| | | | Approved by: philip (mentor)
* Fix typo in xref (it accidentally referenced itself).joerg2010-01-281-1/+1
| | | | MFC after: 1 day
* Note added FIS-based switching support.mav2010-01-281-6/+7
|
* Add FIS-based switching support. If controller supports FBS, it allowsmav2010-01-282-53/+212
| | | | | several devices beyond Port Multiplier to work simultaneously, substantially increasing performance.
* Improve descriptions, remove turnstiles (since, from what I understand,trasz2010-01-281-61/+92
| | | | | they are only used to implement other synchronization primitives), tweak formatting.
* Patch the experimental NFS client in a manner analogous tormacklem2010-01-285-18/+35
| | | | | | | | r203072 for the regular NFS client. Also, delete two fields of struct nfsmount that are not used by the FreeBSD port of the client. MFC after: 2 weeks
* Comment out any reference to ALCHEMY.hints until it's committed, to unbreakcognet2010-01-281-1/+1
| | | | | | make universe. Spotted out by: gahr
* Fix two of the extended memory hacks. The copy pagesrrs2010-01-281-2/+2
| | | | | | | | | | | | | | routine in one place was setting the valid2 bit to 2 not 1. This meant the PTE was NOT valid and so you would crash. In Zero Page there was a incorrect setting of the valid bit AFTER the actual zero (opps).. Hopefully this will fix the 0xc0000000 crashes that I have been seeing (unless of course there are other problems with these old hacks of mine to get to memory above 512Meg)
* Adds additional hacks for proper bits so thatrrs2010-01-281-0/+6
| | | | | | | | the RMI/XLR has the COP0 and COP2 bits enabled Plus it needs SX too. Thanks again for JC in catching this ;-) Submitted by: JC (jayachandranc@netlogicmicro.com
* Make compilable.. i.e. the FreeBSD id I added mustrrs2010-01-281-0/+2
| | | | be in comments.
* Changes the msg ring so its a filter not arrs2010-01-282-5/+8
| | | | | | | handler. Somehow rrs missed this.. Thanks to JC for catching this ;-) Obtained from: JC (jayachandranc@netlogicmicro.com
* MFp4: Large set of CAM inprovements.mav2010-01-2840-1180/+1047
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Unify bus reset/probe sequence. Whenever bus attached at boot or later, CAM will automatically reset and scan it. It allows to remove duplicate code from many drivers. - Any bus, attached before CAM completed it's boot-time initialization, will equally join to the process, delaying boot if needed. - New kern.cam.boot_delay loader tunable should help controllers that are still unable to register their buses in time (such as slow USB/ PCCard/ CardBus devices), by adding one more event to wait on boot. - To allow synchronization between different CAM levels, concept of requests priorities was extended. Priorities now split between several "run levels". Device can be freezed at specified level, allowing higher priority requests to pass. For example, no payload requests allowed, until PMP driver enable port. ATA XPT negotiate transfer parameters, periph driver configure caching and so on. - Frozen requests are no more counted by request allocation scheduler. It fixes deadlocks, when frozen low priority payload requests occupying slots, required by higher levels to manage theit execution. - Two last changes were holding proper ATA reinitialization and error recovery implementation. Now it is done: SATA controllers and Port Multipliers now implement automatic hot-plug and should correctly recover from timeouts and bus resets. - Improve SCSI error recovery for devices on buses without automatic sense reporting, such as ATAPI or USB. For example, it allows CAM to wait, while CD drive loads disk, instead of immediately return error status. - Decapitalize diagnostic messages and make them more readable and sensible. - Teach PMP driver to limit maximum speed on fan-out ports. - Make boot wait for PMP scan completes, and make rescan more reliable. - Fix pass driver, to return CCB to user level in case of error. - Increase number of retries in cd driver, as device may return several UAs.
* In pci_cfgregread() and pci_cfgregwrite(), validate the arguments and checkmarcel2010-01-281-14/+49
| | | | that the alignment matches the width of the read or write.
* Clean up rc.subr man page after removing leftover NetBSD compat. Alsoemaste2010-01-281-38/+2
| | | | | | switch to 2-clause license per NetBSD rc.subr.8 r1.19. Submitted by: Alex Kozlov
* Eliminated nits from last commit.ru2010-01-271-15/+15
| | | | OK'ed by: rodrigc
* Correct a bunch of typos.schweikh2010-01-276-9/+9
|
* Remove stale inclusion of <ulog.h>.ed2010-01-271-1/+0
| | | | This tool doesn't require libulog anymore.
* - Zero the MSI/MSI-X queue argument, otherwise mtx_init(9) can panicmarius2010-01-271-3/+3
| | | | | | | | | | indicating an already initialized lock. - Check for an empty MSI/MSI-X queue entry before asserting that we have received a MSI/MSI-X message in order to not panic in case of stray MSI/ MSI-X queue interrupts which may happen in case of using an interrupt handler rather than a filter. MFC after: 3 days
* Add a link tasklet so updates can be sleepable.jfv2010-01-272-7/+24
|
* adds sysctl knobs to show rate statistics that it could be useful toweongyo2010-01-272-0/+59
| | | | debug slow TX speed.
* Don't touch v_interlock; use VI_* macros instead.trasz2010-01-272-8/+8
|
* Optimize pmap_demote_pde() by using the new KPTmap to access a kernelalc2010-01-271-21/+15
| | | | | | | | | | | | | | page table page instead of creating a temporary mapping to it. Set the PG_G bit on the page table entries that implement the KPTmap. Locore initializes the unused portions of the NKPT kernel page table pages that it allocates to zero. So, pmap_bootstrap() needn't zero the page table entries referenced by CMAP1 and CMAP3. Simplify pmap_set_pg(). MFC after: 10 days
* Two more build problems, missing includes and semicolon.jfv2010-01-272-1/+3
|
* Add initial support for RTL8103E PCIe fastethernet.yongari2010-01-272-1/+9
| | | | PR: kern/142974
* Opps, completely wrong version of if_em.h got intojfv2010-01-271-122/+98
| | | | the checkin, sorry all :(
* Do not leave dirty cache lines behind if bus_dmamap_sync was calledkan2010-01-271-1/+25
| | | | | | | | | | | | to invalidate memory chunk that starts or ends in the middle of cache line. This was responsible for one half of the problem preventing umass to work reliably on some MIPS32 platforms. USBng needs to stop sharing cache lines between DMA-able memory and other structures to cure the other half. Discussed with: imp, gonzo
* Use VESA palette load/save functions if VESA BIOS says the current palettejkim2010-01-271-14/+22
| | | | | | | | format is higher than 6-bit instead of relying VGA compatibility flag. This fixes palette problem of NVIDIA GeForce 6600. Reduce code differences between palette load/save functions while we are here. Tested by: danfe
* Add missing return, in a rare case where we can't allocate memory inemaste2010-01-271-0/+1
| | | | | | | deallocate. Submitted by: Ryan Stone (rysto32 at gmail dot com) Approved by: jasone
* Make a note that this file is the 64-bit version and experimental andimp2010-01-271-0/+7
| | | | point people at the OCTEON1-32 file instead.
* Move back to physical address 0x01000000. 0x00100000 seems to haveimp2010-01-271-2/+2
| | | | problems sometimes for reasons I haven't tracked down.
* Fix a race that can occur when nfs nfsiod threads are being created.rmacklem2010-01-276-15/+34
| | | | | | | | | | | | | | | Without this patch it was possible for a different thread that calls nfs_asyncio() to snitch a newly created nfsiod thread that was intended for another caller of nfs_asyncio(), because the nfs_iod_mtx mutex was unlocked while the new nfsiod thread was created. This patch labels the newly created nfsiod, so that it is not taken by another caller of nfs_asyncio(). This is believed to fix the problem reported on the freebsd-stable email list under the subject: FreeBSD NFS client/Linux NFS server issue. Tested by: to DOT my DOT trociny AT gmail DOT com Reviewed by: jhb MFC after: 2 weeks
* Initialize the ifnet before calling mii_phy_probe() as some phy driversjhb2010-01-271-8/+8
| | | | | | (e.g. e1000phy(4)) expect if_dname to be valid when they are probed. MFC after: 3 days
* Remove pseudo-terminals from ttys(5).ed2010-01-279-2092/+1
| | | | | | | | | | | | When we had utmp(5), we had to list all the psuedo-terminals in ttys(5) to make ttyslot(3) function properly. Now that pututxline(3) deals with slot allocation internally (not based on TTY names), we don't need to list all the TTYs on the system in ttys(5) to make user accounting work properly. This patch removes all the entries from the /etc/ttys files, but also the pts(4) entries that were appended implicitly, which was added in r154838.
* The Erlang Port Mapper Daemon (from ports/lang/erlang) has beenedwin2010-01-271-0/+2
| | | | | | | | | assigned official port number 4369 by IANA. PR: conf/113265 Submitted by: Jimmy Olgeni <olgeni@freebsd.org> Obtained from: http://www.iana.org/assignments/port-numbers MFC after: 2 days
* Git has been added as port 9418:edwin2010-01-271-0/+2
| | | | | | | | | http://www.iana.org/assignments/port-numbers PR: conf/143259 Submitted by: Denny Lin <dennylin93@cnmc32.hs.ntnu.edu.tw> Obtained from: http://www.iana.org/assignments/port-numbers MFC after: 2 day
* acpi_hpet: correctly get number of timers/comparators in a timer blockavg2010-01-271-3/+18
| | | | | | | | | Also, account for a quirk of AMD/ATI HPET which reports number of timers instead of id of the last timer as manadated by the specification. Currently this has no effect on functionality but in the future we may make actual use of the HPET timers, not only of its timecounter. MFC after: 2 weeks
* KASSERT that return value of interrupt filter complies with contractavg2010-01-271-1/+11
| | | | | | | | For example a return value of zero could lead to a stuck level-triggered interrupt line. Reviewed by: jhb (for INTR_FILTER case) MFC after: 3 weeks
* Correct copy-paste typo from previous option description.jmallett2010-01-271-1/+1
|
* Add one more type cast, missed in r203043.mav2010-01-271-1/+1
|
* Partial merge of man page cleanups from NetBSD:rodrigc2010-01-271-16/+16
| | | | | | | | | | | | | | revision 1.91 Fri Nov 7 01:01:46 2003 UTC by lukem Add some subsections in the VARIABLE ASSIGNMENTS section. In the "modifier description" list, show each modifier with the leading `:'. Rationale: it's hard to search for modifiers without it, and we already do the same thing in the -options and .makecommands lists. I now find it much easier to find the description for a modifier in the man page. Obtained from: NetBSD
* In cpu_switch(), use an atomic operation to set the td_lockmarcel2010-01-271-1/+1
| | | | | | of the old thread to the mutex that's passed. Pointed out by: attilio, jhb
* Add a manual page for nvram(4).delphij2010-01-272-0/+95
| | | | MFC after: 2 weeks
* Revised revision 199201 (add interface description capability as inspireddelphij2010-01-2711-8/+207
| | | | | | | | by OpenBSD), based on comments from many, including rwatson, jhb, brooks and others. Sponsored by: iXsystems, Inc. MFC after: 1 month
* Missing a fix for the new watchdog handling.jfv2010-01-262-0/+2
|
* Remove some internal conditional defines that willjfv2010-01-261-13/+0
| | | | fail in kernel tree.
OpenPOWER on IntegriCloud