summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement cgwrite1(3) function which stored a given cylinder group on disk.pjd2006-10-315-2/+38
| | | | Sponsored by: home.pl
* Implement BIO_FLUSH handling for da(4), amr(4), ata(4) and ataraid(4).pjd2006-10-315-25/+135
| | | | Sponsored by: home.pl
* Add a new disk flag - DISKFLAG_CANFLUSHCACHE, which indicates that the diskpjd2006-10-313-2/+25
| | | | | | can handle BIO_FLUSH requests. Sponsored by: home.pl
* Add a new I/O request - BIO_FLUSH, which basically tells providers below topjd2006-10-314-1/+32
| | | | | | | flush their caches. For now will mostly be used by disks to flush their write cache. Sponsored by: home.pl
* remove gdbserver on ARCH i386 as we now install it again..jmg2006-10-311-0/+2
| | | | Submitted by: Pawel Worach
* Make EWOULDBLOCK a recoverable error so that the request is retransmitted.mohans2006-10-311-2/+2
| | | | | | | This bug results in data corruption with NFS/TCP. Writes are silently dropped on EWOULDBLOCK (because socket send buffer is full and sockbuf timer fires). Reviewed by: ups@
* Fix a typo resulting in truncated linux32 signal trampoline code copiedkib2006-10-311-1/+1
| | | | | | | to the usermode. Usually, signal handler segfaulted on return. Reviewed by: jhb MFC after: 3 days
* Allocate receive and transmit data structures during attach() and free themjhb2006-10-311-47/+82
| | | | | | | | | | | | | during detach() similar to other NIC drivers rather than allocating them during init() and freeing them during stop(): - Move creation of tx bus_dma tag amd maps and tx_buffer_area from em_setup_transmit_structures() to em_allocate_transmit_structures(). - Call em_allocate_xxx_structures() in em_attach(). - Only call em_free_xxx_structures() in em_detach(). - Change em_setup_xxx_structures() to free any existing tx or rx buffers and in the case of rx repopulate the ring with newer buffers. Reviewed by: jfv
* - Use callout_init_mtx() to close various callout-related races.jhb2006-10-311-18/+13
| | | | | | | | - Drain the two timers in detach. - Check IFF_DRV_RUNNING in the link task and bail w/o doing anything if it is clear. Reviewed by: jfv, scottl
* Rework the transmit register handling. In em_encap() store index ofglebius2006-10-312-33/+79
| | | | | | | | | | | the EOP descriptor in the first descriptor of the packet. And then in em_txeof() search for DD bits set only in the EOP descriptors, embedding the cleanup of all packet's descriptors into inner loop. This change is important for future chips, where DD bit is going to be set only on the EOP descriptors. Submitted by: jfv
* Remove unused softc pointer variable from the probe routine.jhb2006-10-311-3/+0
| | | | | CID: 1560 Found by: Coverity Prevent (tm)
* Merge new vendor release - 6.2.9.glebius2006-10-315-736/+755
| | | | | | | | | | | | | | | | | | Details: o if_em.c changes: - Added several new PCI ids. - Check em_check_phy_reset_block() before doing SIOCSIFMEDIA ioctl. - Don't touch TARC registers, they are now handled in shared code in if_em_hw.c. - Move RDH and RDT setting to the end of em_initialize_receive_unit(). - Declare em_read_pcie_cap_reg(), now empty. o if_em_hw.c dropped in from vendor, then restored rev. 1.15. o if_em_hw.h dropped in from vendor, then modified: - Added RX overrun interrupt flag to interrupt enable mask. - Remove declarations of em_io_read(), em_io_write(). Approved by: jfv
* Bind to INADDR_ANY in the default configuration. This makes bsnmpd(1)harti2006-10-311-3/+1
| | | | | | | automatically work on multi-homed hosts and without explicite specification of the hostname in the config file. Submitted by: jmg
* Define a base OID for the FreeBSD version as returned in sysObjectIDharti2006-10-311-1/+19
| | | | | | | by bsnmpd(1). The actual OID is formed by appending the release numbers to this base OID. Idea by: phk
* This commit was generated by cvs2svn to compensate for changes in r163820,harti2006-10-312-28/+63
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor patch: synthesize the initial value for sysObjectId from the valueharti2006-10-312-28/+63
| | | | | | | | | | | | | | of uname -r in FreeBSD. This value can be overwritten in the configuration file. Suggested by: phk
* | Avoid implict node generation in oids, people tell me a fair bit ofphk2006-10-311-9/+7
| | | | | | | | SNMP software has trouble with them.
* | Claim my own subtree under freeBSDpeoplephk2006-10-311-3/+9
| |
* | Fix Typo.takawata2006-10-311-1/+1
| | | | | | | | Pointed out by: ru
* | The first of 3 major steps to move the CAM layer forward to usingmjacob2006-10-3125-96/+1616
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the CAM_NEW_TRAN_CODE that has been in the tree for some years now. This first step consists solely of adding to or correcting CAM_NEW_TRAN_CODE pieces in the kernel source tree such that a both a GENERIC (at least on i386) and a LINT build with CAM_NEW_TRAN_CODE as an option will compile correctly and run (at least with some the h/w I have). After a short settle time, the other pieces (making CAM_NEW_TRAN_CODE the default and updating libcam and camcontrol) will be brought in. This will be an incompatible change in that the size of structures related to XPT_PATH_INQ and XPT_{GET,SET}_TRAN_SETTINGS change in both size and content. However, basic system operation and basic system utilities work well enough with this change. Reviewed by: freebsd-scsi and specific stakeholders
* | Fix a typo in the device ID table that prevented 5708S chips from beingscottl2006-10-311-2/+2
| | | | | | | | | | | | detected. Submitted by: pyun
* | Add support for Option GT 3G/3G quad datacard in ubsa.kevlo2006-10-312-5/+11
| | | | | | | | Approved by: cognet
* | Correct a security issue introduced in previous commit:delphij2006-10-312-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instead of removing the file and issue a warning about the removal, do not do any operation at all in case -P is specified when the dinode has hard links. With -f and -P specified together, we assume that the user wants rm to overwrite the contents of the file and remove it (destroy the contents of file but leave its hard links as is). The reason of doing it this way is that, in case where a hard link is created by a malicious user (currently this is permitted even if the user has no access to the file). Losing the link can potentially mean that the actual owner would lose control completely to the user who wants to obtain access in a future day. Discussed with: Peter Jermey
* | - Add a 'verbose' switch -vmarkus2006-10-313-2/+17
| | | | | | | | | | | | | | | | - Only dump items that are being used for padding when being verbose. This brings bthidcontrol in line with the behaviour of usbhidctl(1). - Update the manpage accordingly Approved by: emax
* | Include <sys/types.h>, to get definition for uint32_t.cognet2006-10-301-0/+1
| | | | | | | | Submitted by: David Sharp
* | Assign start to the value we were able to allocate and use that toimp2006-10-301-10/+11
| | | | | | | | | | | | write out the BAR. Otherwise, we were trying to shift a 32-bit quantity on 32-bit platforms. Also, 'start' check sanity to where it is known.
* | In the replacement text of the __bswapN_const() macros encapsulate themarius2006-10-302-16/+24
| | | | | | | | | | | | | | | | | | | | | | | | argument in parentheses so these macros are safe to use and invocations with an expression as the argument like __bswap32_const(42 << 23 | 13) work as expected. Additionally, mask all the individually shifted bytes as appropriate so the bytes which exceed the width of the respective __bswapN_const() macro in invocations like __bswap16_const(0xdead600d) are ignored like it's the case with the corresponding __bswapN_var() function. MFC after: 3 days
* | Add configuration stubs for adding package derived files to the variousjulian2006-10-307-0/+42
| | | | | | | | | | sample configurations. Submitted by Jeremie Le Hen and tested by Jean Milanez Melo.
* | Add some code to support including files ffrom packages in the image.julian2006-10-302-15/+31
| | | | | | | | Submitted by: Jeremie Le Hen and tested by Jean Milanez Melo.
* | More fully support 64-bit bars. Prior to this commit, we supportedimp2006-10-303-58/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | only those bars that had addresses assigned by the BIOS and where the bridges were properly programmed. Now even unprogrammed ones work. This was needed for sun4v. We still only implement up to 2GB memory ranges, even for 64-bit bars. PCI standards at least through 2.2 say that this is the max (or 1GB is, I only know it is < 32bits). o Always define pci_addr_t as uint64_t. A pci address is always 64-bits, but some hosts can't address all of them. o Preserve the upper half of the 64-bit word during resource probing. o Test to make sure that 64-bit values can fit in a u_long (true on some platforms, but not others). Don't use those that can't. o minor pedantry about data sizes. o Better bridge resource reporting in bootverbose case. o Minor formatting changes to cope with different data types on different platforms. Submitted by: jmg, with many changes by me to fully support 64-bit addresses.
* | - Handle timeouts from recv(2) properly.pjd2006-10-301-2/+6
| | | | | | | | | | | | | | | | | | - Increase timeout to 8 seconds (should be made configurable). Reported by: Ulrich Spoerlein <uspoerlein@gmail.com> Reported by: Christian Laursen <xi@borderworlds.dk> PR: kern/104829 MFC after: 1 week
* | This commit was generated by cvs2svn to compensate for changes in r163799,harti2006-10-301-5/+6
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor patch: improve readability by using the IF_Mbps macro.harti2006-10-301-5/+6
| | | | | | | | Submitted by: glebius
* | Belatedly bump manpage date for revision 1.35keramida2006-10-301-1/+1
| | | | | | | | Reminded by: ru
* | Forward declare struct cdev, since arguments of this type are used inrwatson2006-10-302-0/+2
| | | | | | | | | | | | function prototypes. Obtained from: TrustedBSD Project
* | Mention that we do not support route labels in the BUGS section.mlaier2006-10-301-1/+7
| | | | | | | | | | PR: docs/93590 Reported by: Niki Denev
* | The first (optional) argument of the "trace" command is either theru2006-10-301-5/+5
| | | | | | | | | | | | process or thread ID. PR: docs/61859
* | Squash a typo.keramida2006-10-301-1/+1
| | | | | | | | Submitted by: Miltiadis Margaronis <mmargaron@gmail.com>
* | Hook acpi_aiboost module to build.takawata2006-10-301-2/+2
| |
* | Add conf file entries for acpi_aiboost drivers.takawata2006-10-302-0/+4
| |
* | Driver for some ASUS desktop motherboard extras.takawata2006-10-302-0/+349
| | | | | | | | | | | | | | | | | | | | | | Though it is named after overclocking tool for ASUS motherboards, it is not capable to change clock ratio or CPU core voltage. This driver exports Templature, Power output voltage, Fan RPM under dev.acpi_aiboost.0.*. Descriptions for these values are set to sysctl describe, which can be get by sysctl -d.
* | Be more reasonable when overwrite mode is specified while theredelphij2006-10-302-1/+8
| | | | | | | | | | | | | | | | | | is hard links. Overwritting when links > 1 would cause data loss, which is usually undesired. Inspired by: discussion on -hackers@ Suggested by: elessar at bsdforen de Obtained from: OpenBSD
* | Forced commit to denote that the third item of the previous commitmarius2006-10-300-0/+0
| | | | | | | | | | | | | | | | message should have read: - Remove the hw.dc_quick SYSCTL, which allowed to turn off the above mentioned optimization, as like the equivalent and already removed hw.sis_quick it existed for testing purposes only.
* | Add the padding fields to 'struct proc' for the !KSE case that I missed.jb2006-10-291-0/+4
| | | | | | | | Noticed by: pjd
* | - Wrap code optimized for architectures without alignment constraintsmarius2006-10-291-16/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in #ifdef __NO_STRICT_ALIGNMENT rather than #ifdef __i386__. This means that amd64 now also uses the optimized code. [1] While at it, fix a nearby style(9) bug. - Remove the hw.dc_quick SYSCTL, which allowed to turn off the above mentioned optimization, as like the equivalent and already removed - In dc_setcfg() suppress printing a warning when forcing the receiver and transceiver to idle state times out for chips where the status bits in question just never change (observed in detail with DM9102A) and therefore the warning would be highly likely false positive. [2] - In dc_ifmedia_sts() add a missing DC_UNLOCK(). Tested by: Hans-Joerg Sirtl on amd64 [1] PR: 82681 [2] Obtained from: NetBSD tlp(4) [2] MFC after: 1 week
* | Wrap code optimized for architectures without alignment constraintsmarius2006-10-291-6/+5
| | | | | | | | | | | | | | in #ifdef __NO_STRICT_ALIGNMENT rather than #if defined(__i386__) || defined(__amd64__). Currently this change is cosmetic only though. While at it, fix a nearby style(9) bug and remove a no longer used header.
* | Retire the failed OBSOLETE_IN_6 experiment code.imp2006-10-291-6/+0
| |
* | Add missing headers.marius2006-10-291-0/+1
| |
* | Because the BTX mini-kernel now uses flat memory mode and clientsru2006-10-295-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | are no longer limited to a virtual address space of 16 megabytes, only mask high two bits of a virtual address. This allows to load larger kernels (up to 1 gigabyte). Not masking addresses at all was a bad idea on machines with less than >3G of memory -- kernels are linked at 0xc0xxxxxx, and that would attempt to load a kernel at above 3G. By masking only two highest bits we stay within the safe limits while still allowing to boot larger kernels. (This is a safer reimplmentation of sys/boot/i386/boot2/boot.2.c rev. 1.71.) Prodded by: jhb Tested by: nyan (pc98)
* | regen after linux_io_* backoutnetchild2006-10-296-94/+16
| |
OpenPOWER on IntegriCloud