aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix a typo.John Baldwin2009-05-201-1/+1
| | | | Notes: svn path=/head/; revision=192449
* Use defines for register offsets that do not change.Andrew Thompson2009-05-202-63/+29
| | | | | | | Submitted by: Hans Petter Selasky Notes: svn path=/head/; revision=192448
* Use struct thread instead of d_thread_t.Warner Losh2009-05-201-2/+2
| | | | Notes: svn path=/head/; revision=192447
* - Add new register definitionsAndrew Thompson2009-05-202-10/+45
| | | | | | | | | - Enable the controller and wait for the PLL to start Submitted by: Hans Petter Selasky Notes: svn path=/head/; revision=192446
* Replace d_thread_t * with struct thread *.Warner Losh2009-05-201-10/+10
| | | | Notes: svn path=/head/; revision=192445
* The register shift is not needed on this controller.Andrew Thompson2009-05-201-3/+0
| | | | | | | Submitted by: Hans Petter Selasky Notes: svn path=/head/; revision=192444
* We no longer need to use d_thread_t for portability here, switch toWarner Losh2009-05-201-4/+4
| | | | | | | struct thread *. Notes: svn path=/head/; revision=192443
* We don't need d_thread_t for cross-branch portability here anymore.Warner Losh2009-05-201-4/+4
| | | | | | | Move do struct thread * instead. Notes: svn path=/head/; revision=192442
* Some minor style changes:Warner Losh2009-05-201-22/+14
| | | | | | | | | | o Convert K&R function definitions to ANSI o Eliminate spaces/tabs that should have been deleted as part of the de__P efforts o Use struct thread * in preference to d_thread_t *. Notes: svn path=/head/; revision=192441
* Don't bother reading the initial value of the machine check banks duringJohn Baldwin2009-05-202-8/+0
| | | | | | | | startup on Pentium 4 CPUs. This wasn't safe to do on APs during AP startup, was of limited value, and won't be used for future processors. Notes: svn path=/head/; revision=192440
* Fix NULL dereference on Promise SX4 controllers, while executing commandsAlexander Motin2009-05-201-1/+2
| | | | | | | | | | that do not require data transfer (FLUSHCACHE). Tested by: Magnus Kling <klingfon@gmail.com> MFC after: 1 week Notes: svn path=/head/; revision=192433
* Verify that the username length is smaller than MAXLOGNAME whenBrian Somers2009-05-201-1/+5
| | | | | | | | | | | | | | | | | | | asked to verify a passwd file (pwd_mkdb -C). Entries with oversized usernames are still permitted when building the passwd database. When entries are >= MAXLOGNAME in length, they are correctly stored in passwd, pwd.db and spwd.db but are only correctly retrieved by getpwent*() and getpwuid*(). getpwnam*() truncates to MAXLOGNAME - 1 when reading from a file (breaking at least sh, tcsh and bash) and utilities such as su(1) check, complain and fail if the passed name is >= MAXLOGNAME in length. MFC after: 3 weeks Notes: svn path=/head/; revision=192432
* Simplify now that we have gpart.Marcel Moolenaar2009-05-201-84/+33
| | | | Notes: svn path=/head/; revision=192424
* o style.Makefile(5): remove SRCS.Maxim Konovalov2009-05-201-1/+0
| | | | Notes: svn path=/head/; revision=192423
* try to unsetup USB xfers before calling ieee80211_ifdetach() to fix aWeongyo Jeong2009-05-202-2/+2
| | | | | | | | | | | bug referencing a destroyed lock within TX callbacks during device detach. Submitted by: hps (original version) Tested by: Lucius Windschuh <lwindschuh at googlemail.com> Notes: svn path=/head/; revision=192419
* pci(4) handles PCIM_CMD_INTxDIS so there is no need to poke thisPyun YongHyeon2009-05-201-12/+0
| | | | | | | bit in driver. Notes: svn path=/head/; revision=192418
* Add minimal ZFS lock hierarchyKip Macy2009-05-201-0/+7
| | | | Notes: svn path=/head/; revision=192416
* Since audit(4) isn't based on posix1e, remove the commented out audit.h header,Christian Brueffer2009-05-191-2/+2
| | | | | | | | | | xref libbsm(3). Submitted by: rwatson MFC after: 3 days Notes: svn path=/head/; revision=192410
* Fix a few style(9) nits.George V. Neville-Neil2009-05-191-7/+9
| | | | | | | Submitted by: danfe Notes: svn path=/head/; revision=192407
* With SMPng, DEVICE_POLLING uses its own idle threads, rather than theRobert Watson2009-05-191-2/+1
| | | | | | | | | system idle loop, to run ether_poll(), so make ether_poll() static. MFC after: 1 week Notes: svn path=/head/; revision=192404
* correct HAL_INT_BNR comment, this bit is mapped directly the h/w nowSam Leffler2009-05-191-1/+1
| | | | Notes: svn path=/head/; revision=192401
* add TBTT interrupt support; this was added in Griffin so consumers shouldSam Leffler2009-05-194-5/+15
| | | | | | | | | check HAL_CAP_INTRMASK before using it NB: didn't test 11n parts yet so supported only for 5212-class parts Notes: svn path=/head/; revision=192400
* minor cleanupSam Leffler2009-05-192-18/+14
| | | | Notes: svn path=/head/; revision=192399
* Add a new program, perror, which takes an errno as a command line argumentGeorge V. Neville-Neil2009-05-194-0/+133
| | | | | | | | and outputs the associated textual message in the same way that perror(3) would if called within a program. Notes: svn path=/head/; revision=192398
* remove special handling for BNR; it is direct mapped to the harwdare soSam Leffler2009-05-196-16/+5
| | | | | | | can be added to HAL_INT_COMMON except on the 5210 where it doesn't exist Notes: svn path=/head/; revision=192397
* add HAL_CAP_INTRMASK to return the set of interrupts supported by the deviceSam Leffler2009-05-197-1/+36
| | | | Notes: svn path=/head/; revision=192396
* Add Dell PowerEdge R200 and R300 to the hardware section.Joel Dahl2009-05-191-1/+5
| | | | Notes: svn path=/head/; revision=192395
* AH_SUPPORT_TDMA is gone; ath now honors IEEE80211_SUPPORT_TDMASam Leffler2009-05-191-3/+1
| | | | | | | Noticed by: Jon Loeliger <jdl@jdl.com> Notes: svn path=/head/; revision=192385
* Skip @pkgdep if there's no argument.Florent Thoumie2009-05-192-1/+5
| | | | | | | | Submitted by: pav MFC after: 1 week Notes: svn path=/head/; revision=192382
* find: do not silently disable -L when -delete is usedAndriy Gapon2009-05-191-5/+5
| | | | | | | | | | | | | | | | | | | | | First of all, current behavior is not documented and confusing, and it can be very dangerous in the following sequence: find -L . -type l find -L . -type l -delete (the second line is even suggested by find(1)). Instead simply refuse to proceed when -L and -delete are both used. A descriptive error message is provided. The following command can be safely used to remove broken links: find -L . -type l -print0 | xargs rm -0 To do: update find(1) PR: bin/90687 Obtained from: Anatoli Klassen <anatoli@aksoft.net> Approved by: jhb (mentor) Notes: svn path=/head/; revision=192381
* sysctl_rman: report shared resources to devinfoAndriy Gapon2009-05-191-24/+34
| | | | | | | | | | | | | | shared uses of a resource are recorded on a sub-list hanging off a main resource object on a main resource list; without this change a shared resource (e.g. irq) is reported only once by devinfo -r/-u; with this change the resource is reported for each driver that allocates it (which is even more than what vmstat -i -a reports). Approved by: jhb (mentor) Notes: svn path=/head/; revision=192379
* Add links to libgeom(3) where appropriate.Edward Tomasz Napierala2009-05-193-0/+4
| | | | Notes: svn path=/head/; revision=192376
* Validate user-supplied arguments values.Dmitry Chagin2009-05-191-1/+28
| | | | | | | | | | | | Args argument is a pointer to the structure located in user space in which the socketcall arguments are packed. The structure must be copied to the kernel instead of direct dereferencing. Approved by: kib (mentor) MFC after: 1 week Notes: svn path=/head/; revision=192373
* Updated PCI ID's from the vendorScott Long2009-05-191-1/+4
| | | | Notes: svn path=/head/; revision=192361
* - back out direct map hackKip Macy2009-05-193-109/+13
| | | | | | | - it is no longer needed Notes: svn path=/head/; revision=192360
* FILE has been upgraded from 4.23 to 5.03.Xin LI2009-05-181-0/+3
| | | | Notes: svn path=/head/; revision=192353
* Revert the logical change of r192341.Bjoern A. Zeeb2009-05-181-1/+1
| | | | | | | | | | net.inet.ip.fw.one_pass is a classic ip_input.c variable and is used in the pfil and bridge code as well. As ipfw is loadable we need to always provide it. That is the reason why it lives in struct vnet_inet and not in struct vnet_ipfw. Notes: svn path=/head/; revision=192351
* Merge vendor/file/dist@192348, bringing FILE 5.03 to 8-CURRENT.Xin LI2009-05-1841-6714/+4157
|\ | | | | | | | | | | | | Security: CVE-2009-1515 Notes: svn path=/head/; revision=192350
| * Virgin import of Christos Zoulas's FILE 5.03.vendor/file/5.03Xin LI2009-05-1841-6714/+4157
| | | | | | | | | | | | | | | | Security: CVE-2009-1515 Notes: svn path=/vendor/file/dist/; revision=192348 svn path=/vendor/file/5.03/; revision=192349; tag=vendor/file/5.03
| * Update for 5.00.vendor/file/5.00David E. O'Brien2009-05-041-6/+7
| | | | | | | | | | Notes: svn path=/vendor/file/dist/; revision=191773 svn path=/vendor/file/5.00/; revision=191775; tag=vendor/file/5.00
* | - Add a tunable 'hw.mca.enabled' that can be used to enable/disable theJohn Baldwin2009-05-182-22/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | machine check code. Disable it by default for now. - When computing the mask of bits that determines a non-restartable event during a machine check exception, or-in the overflow flag rather than replacing the other flags. PR: i386/134586 [2] Submitted by: Andi Kleen andi-fbsd firstfloor.org Notes: svn path=/head/; revision=192343
* | Add a read-only sysctl hw.pci.mcfg to mirror the tunable by the same name.John Baldwin2009-05-182-0/+10
| | | | | | | | | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=192342
* | - Fix typo in description of 'net.inet.ip.fw.autoinc_step'.John Baldwin2009-05-181-2/+2
| | | | | | | | | | | | | | - Use 'vnet_ipfw' instead of 'vnet_inet' for 'net.inet.ip.fw.one_pass'. Notes: svn path=/head/; revision=192341
* | Change the experimental NFSv4 client so that it does not doRick Macklem2009-05-185-63/+79
| | | | | | | | | | | | | | | | | | | | | | | | the NFSv4 Close operations until ncl_inactive(). This is necessary so that the Open StateIDs are available for doing I/O on mmap'd files after VOP_CLOSE(). I also changed some indentation for the nfscl_getclose() function. Approved by: kib (mentor) Notes: svn path=/head/; revision=192337
* | Bump CACHE_LINE_SIZE to 128 for x86. Intel's manuals explicitly recommendJohn Baldwin2009-05-182-2/+2
| | | | | | | | | | | | | | using 128 byte alignment for locks. (See IA-32 SDM Vol 3A 7.11.6.7) Notes: svn path=/head/; revision=192331
* | add block ack frame idSam Leffler2009-05-181-0/+1
| | | | | | | | Notes: svn path=/head/; revision=192328
* | Rename ia64_invalidate_icache() to ia64_sync_icache(). We'reMarcel Moolenaar2009-05-184-9/+12
| | | | | | | | | | | | | | not invalidating anything. Notes: svn path=/head/; revision=192324
* | Add cpu_flush_dcache() for use after non-DMA based I/O so that aMarcel Moolenaar2009-05-1813-5/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | possible future I-cache coherency operation can succeed. On ARM for example the L1 cache can be (is) virtually mapped, which means that any I/O that uses temporary mappings will not see the I-cache made coherent. On ia64 a similar behaviour has been observed. By flushing the D-cache, execution of binaries backed by md(4) and/or NFS work reliably. For Book-E (powerpc), execution over NFS exhibits SIGILL once in a while as well, though cpu_flush_dcache() hasn't been implemented yet. Doing an explicit D-cache flush as part of the non-DMA based I/O read operation eliminates the need to do it as part of the I-cache coherency operation itself and as such avoids pessimizing the DMA-based I/O read operations for which D-cache are already flushed/invalidated. It also allows future optimizations whereby the bcopy() followed by the D-cache flush can be integrated in a single operation, which could be implemented using on-chips DMA engines, by-passing the D-cache altogether. Notes: svn path=/head/; revision=192323
* | fix typoSam Leffler2009-05-181-1/+1
| | | | | | | | Notes: svn path=/head/; revision=192321
* | Add two missing INIT_VNET_INET6(curvnet) to make VIMAGE kernels happier.Bjoern A. Zeeb2009-05-181-0/+3
| | | | | | | | Notes: svn path=/head/; revision=192318