summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* More statistics fixups:sam2006-08-102-18/+76
| | | | | | | | | | | | | | | | | o change rssi to be signed in ieee80211_nodestats o add noise floor in ieee80211_nodestats (use an implicit hole to preserve layout); return it as zero until we can update the api's so the driver can provide noise floor data o add a bandaid so IEEE80211_IOC_STA_STATS works for sta mode; when all nodes are in the station table this will no longer be needed o fix braino in IEEE80211_IOC_STA_INFO implementation; was supposed to take a mac address and return info for that sta or all stations if ff:ff:ff:ff:ff was supplied--but somehow this didn't get implemented; implement the intended semantics and leave a compat shim at the old ioctl number for the previous api Reviewed by: mlaier MFC after: 3 weeks
* minor fixups:sam2006-08-102-8/+22
| | | | | | | | | o add some missing stats to the global stat structure o move accounting work for data frame rx into ieee80211_deliver_data o add per-sta stats for rx ucast/mcast frames o set rcvif in ieee80211_deliver_data so callers don't need to MFC after: 2 weeks
* add per-sta ucast/mcast statssam2006-08-101-0/+4
| | | | MFC after: 1 week
* Change vm_page_cowfault() so that it doesn't allocate a pre-busied page.alc2006-08-101-2/+1
|
* o Spell.maxim2006-08-101-1/+1
| | | | Submitted by: ru
* Eliminate one set of XBOX #ifdefs. The Xbox code just needs to set aimp2006-08-093-18/+2
| | | | | different TIMER_FREQ value than default. Accomplish this via the config file rather than via an #ifdef.
* Minor style(9) nit.imp2006-08-091-2/+2
|
* - Added ability to provide (optional) path to the kernel sourcesrik2006-08-091-22/+122
| | | | | | | | | | | | - Added check of dirs used by example generator - Fixed path for ${s}/conf/files.FOO and include it via files directive from config file - Changed kernel configuration example with the driver: it is not produced by copying Generic but by including it - KDB is added to config (for DDB) - Added module building instead and fixed kernel building Reviewed by: julian@
* Hook into the watchdog device, if present. Also, turn off theimp2006-08-091-4/+41
| | | | | watchdog timer stuff when we boot because the boot blocks are turning it on...
* Added copyright templeterik2006-08-091-32/+57
| | | | | | Fixed compilation Reviewed by: julian@
* Strengthen the check for a PMBR:marcel2006-08-091-18/+35
| | | | | | | | | | | | | | | | | o PMBR partitions count to the number of partitions on the disk, which means that if a PMBR entry is invalid we will not treat the MBR as a PMBR by virtue of it not describing any partitions. Previously the checks were inconsistent in that an invalid PMBR entry would be harmless when no other partitions exist (we would treat the MBR as a PMBR by virtue of it being empty), but it would be fatal when there is at least one other partition. o The partition size of a PMBR partition is one less than the media size because the GPT starts at the second sector (LBA 1) and extends to the end of the media. For backward bug-compatibility we accept a size that's exactly the media size (FreeBSD bug). Also, when the partition size can not be represented in a 32-bit integral, the partition size in the MBR is to be set to 0xFFFFFFFF. Accept this as a valid size, even if the size can be represented.
* Fix a bug in the size of the PMBR partition. Since the partition startsmarcel2006-08-091-0/+2
| | | | at LBA 1, the size is not the mediasize in sectors, but one less.
* 10/100 PHY shouldn't support gigabit media types.pdeuskar2006-08-091-3/+6
| | | | | | Submitted by: brad (brad@comstyle.com) Obtained from: OpenBSD MFC after: 1 week
* o Strip eol whitespaces.maxim2006-08-091-2/+2
|
* o Simple strcpy/strcat replacement.maxim2006-08-091-3/+4
| | | | | | | PR: bin/101575 Founded by: Dan Lukes Obtained from: OpenBSD, rev. 1.11 by deraadt MFC after: 2 weeks
* Define NO_TLS on PowerPC.marcel2006-08-091-0/+1
| | | | See also: PR ia64/91846
* o New sentence, new line.maxim2006-08-091-2/+3
| | | | o Touch Dd for -r.
* Add pc98 specific code to adjust the firmware geometry when it differsimp2006-08-092-0/+50
| | | | | | | from the actual geometry. This enables support of disks larger than ~120GB on pc98 boxes. They make great little network appliances. I've been using these changes for the past year or so on my network storage pc98 box :-).
* Most platforms map the actual drive geometry to the firmware's notionimp2006-08-091-0/+9
| | | | | | | | | | | | | | | | | | | | of geometry. However, some platforms have a more complicated mapping of the firmware values to the actual values. pc98 is the only platform that currently does this. This mapping is necessary for large disks connected to pc98 boxes, as the firmware labels require do special hacks to the actual geometry for interoperability. We cannot do this all in the geom layer because of initialization issues (geom looks for an already initialized pc98 label, but we need the geometry information prior to initialization, classic chicken and egg problem). We pass the disk and the device_t to this function because the geometry mapping depends on what kind of controller is used. This hook allows platforms that want to override things to do so, and has 0 overhead on all other platforms. These patches have been in use locally for a long time, and received good feedback from the pc98 community and sos@ at various times during their development. MFC After: 1 week
* Allow geli to operate on read-only providers.pjd2006-08-095-28/+74
| | | | | Initial patch from: vd MFC after: 2 weeks
* o It speaks about struct msqid_ds not struct shmid_ds.maxim2006-08-091-1/+1
| | | | | | PR: docs/101314 Submitted by: Vasil Dimov MFC after: 1 week
* Introduce a field to struct vm_page for storing flags that arealc2006-08-0910-31/+35
| | | | | | | | | | | | | | | | synchronized by the lock on the object containing the page. Transition PG_WANTED and PG_SWAPINPROG to use the new field, eliminating the need for holding the page queues lock when setting or clearing these flags. Rename PG_WANTED and PG_SWAPINPROG to VPO_WANTED and VPO_SWAPINPROG, respectively. Eliminate the assertion that the page queues lock is held in vm_page_io_finish(). Eliminate the acquisition and release of the page queues lock around calls to vm_page_io_finish() in kern_sendfile() and vfs_unbusy_pages().
* Since bpf_allocbufs() uses malloc() with M_WAITOK, don't check returnrwatson2006-08-091-16/+9
| | | | | | | values for NULL or return an error state. Assert that all three bpf buffer pointers are NULL before starting. MFC after: 1 week
* Add a bandaid to avoid a deadlock in a situation, when we are trying to suspendpjd2006-08-091-0/+10
| | | | | | | | | | | | | | a file system, but need to obtain a vnode. We may not be able to do it, because all vnodes could be already in use and other processes cannot release them, because they are waiting in "suspfs" state. In such situation, we allow to allocate a vnode anyway. This is a temporary fix - there is no backpressure to free vnodes allocated in those circumstances. MFC after: 1 week Reviewed by: tegge
* Readd sade, the problem should be fixed.netchild2006-08-091-0/+1
|
* Remove the keymap stuff too, it is not needed in sade.netchild2006-08-094-152/+2
|
* Remove sade from build-tools, the tinderbox problem should be fixed now.netchild2006-08-091-1/+0
|
* - Added 'files "files.FOO"' to config for inclusion of user specific files.rik2006-08-091-3/+24
| | | | | | | - Added KDB option to config file (for DDB). - Added ability to compile custom kernel. Discussed with: julian@
* Fix ng_pppoe(4) after turning off "autosrc feature" on ng_ether(4).glebius2006-08-093-23/+93
| | | | | | | | | | | | - Store the Ethernet header in node softc. - Initialize header with dst addr and ethertype in node constructor method. - In node connect method send NGM_ETHER_GET_ENADDR message downwards. - If received reply from ng_ether(4) store the src addr in softc. - Add NGM_PPPOE_SETENDADDR message that allows user to override the address with whatever he/she wants.
* Not only a request from us can be passed to g_{mirror,raid3}_worker()pjd2006-08-092-10/+23
| | | | | | | function, but also a request to us, in which case checking bio_cflags is wrong, because the class above us is controling it, not we. MFC after: 1 week
* Get rid of the rtermcap stuff (embedding termcaps into the program). Thisnetchild2006-08-095-119/+5
| | | | | | | is needed in sysinstall on boot, but not in sade on a fully working system. After this change I noticed no change in behavior on a vty when TERM is not set.
* Bump WARNS level to 3.delphij2006-08-091-0/+1
| | | | Tested with: make universe
* Unbreak sparc64 build.delphij2006-08-091-3/+3
| | | | Reported by: tinderbox
* Fix PC98 build.delphij2006-08-091-1/+1
| | | | Spotted by: make universe
* disconnect sade until someone fixes tinderbox buildssam2006-08-091-1/+0
|
* Add the sade to build-tools list. This fixes a tinderbox.nyan2006-08-091-0/+1
|
* Add a new kernel environment variable "boot.netif.mtu" which is used tobrooks2006-08-091-0/+10
| | | | | | | | set the MTU prior to mounting root via NFS. This is required if the server supports a higher than default MTU because the client will not see the responses otherwise. MFC after: 3 weeks
* Thomas Wintergerst reports that when this tsleep went away, certainimp2006-08-091-0/+10
| | | | | | | | cards stopped working. Specifically the AVM B1 PCMCIA Card no longer detected. Its CIS chain read back as all FF's. Putting the delay back solves those problems. I've opted to put in a much shorter delay because as far as I can tell, no delay is really needed here. We'll see how well this works in practice.
* Fix a phase-ordering bug: check the mediasize and sectorsize aftermarcel2006-08-081-20/+21
| | | | | | | | | | we obtained access. It is possible that GPT gets to taste a disk first, which means the disk has not been opened before and it will not get opened until after we checked the mediasize and sectorsize. However, since the mediasize and sectorsize are determined at open and that happens when access is optained, checking the mediasize and sectorsize before obtaining access may result in GPT rejecting the disk.
* Update usage & SYNOPSIS and clarify that input files are not removed.keramida2006-08-082-18/+30
| | | | | | | | | | | Sort getopt option handling of -p too, while here. The changes are adapted from a patch by Ruslan Ermilov, posted as followup to docs/33852. PR: docs/33852 Submitted by: Gary W. Swearingen <swear@blarg.net> MFC after: 1 week
* Rewrite ARM_USE_SMALL_ALLOC so that instead of the current behavior, it mapscognet2006-08-0810-138/+219
| | | | | | | | whole the physical memory, cached, using 1MB section mappings. This reduces the address space available for user processes a bit, but given the amount of memory a typical arm machine has, it is not (yet) a big issue. It then provides a uma_small_alloc() that works as it does for architectures which have a direct mapping.
* Add FreeBSD 6.2 to the list of known versions.ru2006-08-081-0/+1
|
* Add kqueue support to if_tun. Loosely based on if_tap changes.rwatson2006-08-081-1/+119
| | | | | | | | | | Two almost identical patches based on the if_tap work were submitted via GNATS; I started out with the patch in 100796 from David Gilbert, but could have easily started with the patch from Vilmos Nebehaj which I found only later. MFC after: 1 week PR: 93976, 100796
* check return value of ath_tx_dmasetupsam2006-08-081-0/+2
| | | | Noticed by: yongari
* Add Epson Stylus CX3650.bms2006-08-081-1/+3
| | | | | | Update Dd. Requested by: brueffer
* Partitions are only meaningful for i386 and amd64 architectures, so disabledelphij2006-08-085-45/+8
| | | | these code on other architectures.
* Make sade(8) WARNS=3 clean.delphij2006-08-0814-221/+55
|
* Lock the vnode around the call to VOP_GETATTR. Move the locked codekib2006-08-081-5/+16
| | | | | | | | | | | | and vn_fullpath (that call malloc(..., M_WAITOK)) from under the vm object lock, since sleep is not allowed while holding the mutex. Being there, wrap VOP_GETATTR call with conditional Giant aquire. Currently this is (almost) noop because pseudofs is Giant-locked. Tested by: kris Approved by: pjd (mentor) MFC after: 2 weeks
* Typo (favour -> favor).delphij2006-08-081-1/+1
|
* Shutdown curses when exit. While I am there, remove a staledelphij2006-08-081-1/+4
| | | | comment which does not apply to sade(8).
OpenPOWER on IntegriCloud