summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - Fixed kern/123696 by increasing firmware timeout value from 100 to 1000.davidch2008-06-102-54/+193
| | | | | | | | | | - Fixed a problem on i386 architecture when using split header/jumbo frame firmware caused by hardware alignment requirements. - Added #define BCE_USE_SPLIT_HEADER to allow the feature to be enabled/ disabled. Enabled by default. PR: kern/123696 MFC after: 2 weeks
* Mark "highaddr" and "lowaddr" appropriately. Change "dma" to "DMA".wkoszek2008-06-091-9/+18
| | | | | | Fix spelling mistage found by rodrigc@. Reviewed by: rodrigc, danger
* Since we create a DMA tag "mtag" for TX map with bus_dmamap_create(),wkoszek2008-06-091-2/+2
| | | | | | | | | we must synchronize such a map against "mtag" with bus_dmamap_sync(), not the tag designated for RX map. Fix it. Approved by: cognet
* Removal of gpt(8) and manpage.marcel2008-06-091-0/+3
|
* Note removal of gpt(8).marcel2008-06-091-0/+4
|
* Remove gpt(8). It's replaced by gpart(8).marcel2008-06-0915-3544/+0
|
* Use the -n flag to route(8) when calling "route get". Otherwise we hangbrooks2008-06-091-1/+1
| | | | | | for a long time if we get a lease, but DNS isn't working. MFC after: 1 week
* Disconnect gpt(8) from the build. gpt(8) is replaced by gpart(8).marcel2008-06-091-1/+0
|
* Don't store a pointer in "next" if we're never going to use it.cperciva2008-06-091-2/+2
| | | | | | Fix typo in checking results of strchr. Found by: Coverity Prevent
* Make one-bit fields unsigned instead of signed. This has no effect,cperciva2008-06-091-1/+1
| | | | | | | since they are only tested for zero/nonzero; but it's arguably a bad idea to set a {-1, 0} variable to 1 (as happens in this code). Found by: Coverity Prevent
* Rework code to avoid using a pointer after freeing it. Aside from thecperciva2008-06-091-2/+4
| | | | | | | possibility of memory becoming undereferenceable when it is freed, this change should have no effect on bsdtar behaviour. Found by: Coverity Prevent
* Provide the mutual exclusion between the nfs export list modificationskib2008-06-093-0/+7
| | | | | | | | | | | and nfs requests processing. Lockmgr lock provides the shared locking for nfs requests, while exclusive mode is used for modifications. The writer starvation is handled by lockmgr too. Reported by: kris, pho, many Based on the submission by: mohan Tested by: pho MFC after: 2 weeks
* Document the misleading nature of the REQUIRE line. The patch inmtm2008-06-091-1/+20
| | | | | | | the PR has been heavily edited for style(9) and clarity. Mistakes are mine. PR: bin/124251
* Remove sicontrol(8)'s "ttystat".ed2008-06-094-73/+1
| | | | | | | | | | | | | | | | | In the FreeBSD base system, there are only two utilities that use struct tty, namely pstat and sicontrol. The sicontrol utility calls the TCSI_TTY ioctl(), which copies struct tty back to userspace. sicontrol should not have this functionality. The same data is already provided by pstat. If we really want to be able to export these numbers through a file descriptor to userspace, we can export struct xtty, which should provide a better abstraction. The ttystat option was only used as a debugging aid. This makes sicontrol compile in the mpsafetty branch. Reviewed by: peter Approved by: philip (mentor)
* Change the CTF conversion makefile code to use a new line to avoidjb2008-06-091-1/+1
| | | | | | | | spawning another shell. Requested by: Ed Schouten M config/mkmakefile.c
* Remove some sparc-specific stuff from my earlier sun4v work in p4.jb2008-06-091-2/+0
| | | | | | It never belonged in current. Pointed out by: marius
* Remove sa1_cache_clean_addrkevlo2008-06-091-2/+0
|
* Unify arminit() and clean upkevlo2008-06-091-58/+1
|
* Make pthread_cleanup_push() and pthread_cleanup_pop() as a pair of macros,davidxu2008-06-096-28/+71
| | | | | | | use stack space to keep cleanup information, this eliminates overhead of calling malloc() and free() in thread library. Discussed on: thread@
* Change header file references from <filename>.h towkoszek2008-06-081-10/+10
| | | | | | | | | | path relative to /usr/include. It looks much better anyway. Instead of referencing "socket", which is bogus, reference 'sys/socket.h', which is what should be placed here from the beggining. Suggested by: maxim
* Fix the way the date must be specified (leading 0 is redundant).wkoszek2008-06-081-4/+4
| | | | | | | Fix several spelling mistakes brought by my earlier commit. Trim whitespace. Submitted by: maxim
* Remove checks against DDB, which isn't used in this file.wkoszek2008-06-081-5/+0
| | | | | | | My intention is to bring no functional change. Discussion on: IRC Reviewed by: ed, kan, rink,
* I missed some "register"s in non-dot-C files.dwmalone2008-06-085-28/+28
|
* - Display '-C' option in usage().stas2008-06-081-1/+1
| | | | Approved by: kib
* The change to add subversion ID has two problems. The first is that whendougb2008-06-081-2/+11
| | | | | | | | | | | | | | | newvers.sh is run pwd is actually the obj directory, so "../../.svn" doesn't exist and the test always fails. The second is that buildkernel is executed with a restrictive PATH, so unless you have svnversion in /bin or /usr/bin it can't run. Fix this by looking for svnversion in /bin, /usr/bin, and /usr/local/bin in that order. If found, store the location and derive the value of the source directory. Then run svnversion in the appropriate directory. There is one possible refinement which would be to add a test for LOCALBASE!=/usr/local if we don't find svnversion the first time, but IMO that's not necessary at this time.
* Fixed the output grammar to properly speak non-terminal dits.scf2008-06-082-5/+7
| | | | | | | | Updated Lyndon Nerenberg's radio callsign and E-mail address. PR: bin/7868 Submitted by: Lyndon Nerenberg <lyndon@orthanc.ca> MFC after: 1 week
* Fix typo in comment.rpaulo2008-06-081-1/+1
|
* Make usage() 'static'.wkoszek2008-06-081-1/+1
|
* d_ino member of linux_dirent structure should be unsigned long.rdivacky2008-06-081-2/+2
| | | | | Submitted by: Chagin Dmitry <chagin.dmitry@gmail.com> Approved by: kib (mentor)
* Bring more commands to the ddb(4) manual page. This should be consideredwkoszek2008-06-081-32/+494
| | | | | | "complete" list, but some commands might be still missing. Reviewed by: julian
* Fix spelling of "virtual".wkoszek2008-06-082-5/+5
| | | | | | There should be no visible change. Reviewed by: rink
* Ethernet hardware address stored in DC_AL_PAR0/DC_AL_PAR1 registeryongari2008-06-081-6/+14
| | | | | | | | | | | | is in little endian form. Likewise setting DC_AL_PAR0/DC_AL_PAR1 register expect the address to be in little endian form. For big endian architectures the address should be swapped to get correct one. Change setting/getting ethernet hardware address to big endian architecture frendly. Reported by: Robert Murillo ( billypilgrim782001 at yahoo dot com ) Tested by: Robert Murillo ( billypilgrim782001 at yahoo dot com )
* Move bm(4) from the sys/conf/NOTES to sys/powerpc/conf/NOTES.marcel2008-06-082-2/+1
| | | | The driver applies to PowerPC only.
* Add support for the Apple Big Mac (BMAC) Ethernet controller,marcel2008-06-079-0/+1780
| | | | | | found on various Apple G3 models. Submitted by: Nathan Whitehorn
* Add support for Apple's Descriptor-Based DMA (DBDMA) engine. The DMAmarcel2008-06-074-0/+552
| | | | | | | engine is usful to various existing drivers, such as ata(4) and scc(4), and is used bhy the soon to be added bm(4). Submitted by: Nathan Whitehorn
* Change the calling convention for ic_node_alloc to deal withsam2008-06-0711-27/+42
| | | | | | | | | | | | some longstanding issues: o pass the vap since it's now the "coin of the realm" and required to do things like set initial tx parameters in private node state for use prior to association o pass the mac address as cards that maintain outboard station tables require this to create an entry (e.g. in ibss mode) o remove the node table reference, we only have one node table and it's unlikely this will change so this is not needed to find the com structure
* Split ieee80211_notify_erp into locked and unlocked variantssam2008-06-071-4/+12
| | | | | | | and use the locked version to handle the hostap input path case where the com lock is not already held. Noticed by: Jared Go
* Fix node cleanup issues when the last reference is held bysam2008-06-071-16/+27
| | | | | the driver (e.g. in the tx q); ni_vap may not be valid, we must carefully check before using it.
* correct code returned in AsssocResp; the previous code is spec'd for usesam2008-06-071-2/+1
| | | | | | | only in deauth+disassoc frames Submitted by: Chris Zimmermann MFC after: 1 month
* use 'const' for the parameters of the two static functions unalias() and ↵rse2008-06-071-4/+4
| | | | hashalias()
* remove an unnecessary includerse2008-06-071-1/+0
|
* If we can find it, include SVN version number in kernel version strings.phk2008-06-071-2/+9
| | | | See also: http://www.bikeshed.org/
* Unbreak last commit to ln for amd64.keramida2008-06-071-1/+1
| | | | | | | | Cast string precision to `int'. amd64 systems warn about the field precision being `long int' if we don't, and pathnames are normally short enough to fit in an `int'. Noticed by: pav
* Fix the incorrect calculation of a block address within a single indirectkib2008-06-071-1/+1
| | | | | | | | block. PR: 108215 Submitted by: Yuichiro Goto, y7goto gmail com MFC after: 2 weeks
* Workaround a bug in the BIOS of Dell R900 machines. Specifically, eachjhb2008-06-071-1/+4
| | | | | | | | | | | | | entry in the SMAP is a 20 byte structure and they are queried from the BIOS via sucessive BIOS calls. Due to an apparent bug in the R900's BIOS, for some SMAP requests the BIOS overflows the 20 byte buffer trashing a few bytes of memory immediately after the SMAP structure. As a workaround, add 8 bytes of padding after the SMAP structure used in the loader for SMAP queries. PR: i386/122668 Submitted by: Mike Hibler mike flux.utah.edu, silby MFC after: 3 days
* Document the new -p and -i options for writing bootstrap code intomarcel2008-06-071-8/+24
| | | | | a partition. Make it clear that the -b option embeds boot code in the meta-data.
* Enhance the bootcode command to also allow bootcode to be writtenmarcel2008-06-061-25/+143
| | | | | to a partition. This avoids that users need to use dd(1) to install boot code (as is needed for VTOC8 and booting GPT on PCs).
* Add two support functions:marcel2008-06-062-0/+47
| | | | | | | | | | | | | o gctl_delete_param() -- intended for parameters that are consumed by geom(8) itself and which should not be passed to the kernel. o gctl_has_param() -- intended to check if optional parameters are present. Both are needed by gpart(8) to process the optional parameter for writing bootcode to a partition (as part of the bootcode verb). However, the kernel is itself not involved in this matter and the parameter needs to be removed from the request destined for the kernel.
* Update description textpeter2008-06-061-1/+1
|
* - Store the device_t of the smbX device in the softc.jhb2008-06-061-37/+22
| | | | | | | | | | | | | - Store the softc of the device in the 'si_drv1' of the cdev. - Lookup the softc via 'si_drv1' in cdev methods rather than using the minor number as a unit for devclass_get_softc(). - Lookup the device_t via the softc field in cdev methods rather than using the minor number as a unit for devclass_get_device(). - Add a mutex to the softc to protect 'sc_opened'. - Remove D_NEEDGIANT as all the smbus drivers are now MPSAFE and this driver is now MPSAFE. - Remove some checks for NULL softc pointers that can't happen and don't bzero the softc during attach.
OpenPOWER on IntegriCloud