summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add Roel's copyright as he did the initial versionsam2009-02-031-0/+1
|
* Add support for the StrataFlash on 2348 boards:sam2009-02-036-2/+21
| | | | | | | | | o add bus shim for cfi driver o add static mapping for CS0 (we map all 16M as the cfi driver doesn't support demand mapping) Note this needs some tweaking to work for 2358 boards which is why the CAMBRIA config is not touched.
* honor any interface width (e.g. setup by the bus shim) and don't probe;sam2009-02-032-5/+89
| | | | this is needed for the moment to workaround bus shim issues
* reorg ioctl code to simplify adding new requestssam2009-02-031-16/+21
|
* force atomic_cmpset_ptr types to match atomic_cmpset_32;sam2009-02-031-1/+2
| | | | | | | this matches what powerpc does Submitted by: stass MFC after: 2 weeks
* fix compilation w/ AH_DEBUGsam2009-02-032-2/+2
|
* - ANSIfy function definitionsdanger2009-02-0333-110/+41
| | | | | | - use nul when we are looking for a terminating character where appropriate Approved by: imp
* Delete fwohci_filt() as it is now unusedsbruno2009-02-031-1/+0
| | | | | Obtained from: Marius Strobl <marius@alchemy.franken.de> MFC after: 2 weeks
* Don't right-adjust the SMBus slave address for SSIF IPMI BMCs enumeratedjhb2009-02-031-1/+1
| | | | | via ACPI either. This is somewhat academic since we don't currently support such devices though.
* - Change ichsmb(4) to follow the format of all the other smbus controllersjhb2009-02-033-12/+16
| | | | | | | | | | | | | for slave addressing by using left-adjusted slave addresses (i.e. xxxxxxx0b). - Require the low bit of the slave address to always be zero in smb(4) to help catch broken applications. - Adjust some code in the IPMI driver to not convert the slave address for SSIF to a right-adjusted address. I (or possibly ambrisko@) added this in the past to (unknowingly) work around the bug in ichsmb(4). Submitted by: Andriy Gapon <avg of icyb.net.ua> (1,2) MFC after: 1 month
* - Keep the same sorting on usb_errstr_table as the enum.thompsa2009-02-032-43/+44
| | | | - Use c99 array initializers for usb_quirk_str so the indexing isnt critical.
* Partially revert r186559.obrien2009-02-031-1/+1
|
* Add missing string table for the usb quirk enum.thompsa2009-02-032-3/+28
| | | | | Pointy hat: me Submitted by: rrs
* - Cleanup checksum code.rrs2009-02-0315-755/+849
| | | | | | | | | | | | | | | | | - Prepare for CRC offloading, add MIB counters (RS/MT). - Bugfix: Disable CRC computation for IPv6 addresses with local scope (MT). - Bugfix: Handle close() with SO_LINGER correctly when notifications are generated during the close() call(MT). - Bugfix: Generate DRY event when sender is dry during subscription. Only for 1-to-1 style sockets (RS/MT) - Bugfix: Put vtags for the correct amount of time into time-wait (MT). - Bugfix: Clear vtag entries correctly on expiration (MT). - Bugfix: shutdown() indicates ENOTCONN when called for unconnected 1-to-1 style sockets (MT). - Bugfix: In sctp Auth code (PL). - Add support for devices that support SCTP csum offload (igb). - Add missing sctp_associd to mib sysctl xsctp_tcb structure (RS) Obtained from: With help from Peter Lei and Michael Tuexen
* Adds support for SCTP checksum offload. This meansrrs2009-02-035-5/+64
| | | | | | | | | | | | | we, like TCP and UDP, move the checksum calculation into the IP routines when there is no hardware support we call into the normal SCTP checksum routine. The next round of SCTP updates will use this functionality. Of course the IGB driver needs a few updates to support the new intel controller set that actually does SCTP csum offload too. Reviewed by: gnn, rwatson, kmacy
* Improve robustness of NMI handling, for NMIs recognized in kerneljkoshy2009-02-034-26/+84
| | | | | | | | | | | | | | | | | | | mode. - Make the NMI handler run on its own stack (TSS_IST2). - Store the GSBASE value for each CPU just before the start of each NMI stack, permitting efficient retrieval using %rsp-relative addressing. - For NMIs taken from kernel mode, program MSR_GSBASE explicitly since one or both of MSR_GSBASE and MSR_KGSBASE can be potentially invalid. The current contents of MSR_GSBASE are saved and restored at exit. - For NMIs handled from user mode, continue to use 'swapgs' to load the per-CPU GSBASE. Reviewed by: jeff Debugging help: jeff Tested by: gnn, Artem Belevich <artemb at gmail dot com>
* Use NULL in preference to 0 in pointer contexts.imp2009-02-032-9/+9
|
* Make bioq_disksort have a ANSI-C definition rather than a K&R definition.imp2009-02-031-3/+1
|
* rman_debug should be static, so make it static.imp2009-02-031-1/+1
|
* Use ANSI function definition for profil.imp2009-02-031-3/+1
|
* Prefer ANSI function definitions to K&R ones.imp2009-02-031-6/+3
|
* Use NULL in preference to 0 for pointers.imp2009-02-032-7/+7
|
* Use NULL in preference to 0 for pointers.imp2009-02-032-2/+2
|
* o Use unsigned for bit fields.imp2009-02-031-3/+3
| | | | o Use NULL for pointers in preference to 0.
* int foo(void) is the proper ANSI function definition when there's noimp2009-02-031-1/+1
| | | | parameters. Use it for resettodr().
* In g_handleattr(), set bp->bio_completed also for the casemarcel2009-02-031-1/+2
| | | | | where len is 0. Otherwise g_getattr() will never succeed when it is handled by g_handleattr_str().
* Introduce a C type representing the header for GNU-style hash tablejkoshy2009-02-031-0/+11
| | | | | | | sections. These ELF sections are generated by newer versions of GNU binutils. Reviewed by: kaiw, Ali Bahrami <ali dot bahrami at sun dot com>
* Move away from autogenerated enums, these values never change and its helpfulthompsa2009-02-035-124/+114
| | | | to be able to look them up.
* o Define some symbols for a few items that are bare constants in theimp2009-02-032-16/+34
| | | | | | code. o Use NULL in preference to 0 for a few pointers. o default to bus timing normal, like we default to bus_width_1.
* make sure that interrupts are disabled when handling page faults et alkmacy2009-02-031-4/+4
|
* Use NULL in preference to 0 for pointers.imp2009-02-031-4/+4
|
* Use NULL in preference to '0' for pointers.imp2009-02-031-2/+2
|
* Use %u instead of %zu when we intend to print integer constant.delphij2009-02-031-3/+3
|
* Declare bus_data_devices to be static: it isn't used elsewhere.imp2009-02-031-5/+5
| | | | | Use NULL in a couple of places rather than 0 in the context of pointers to be consistent with the rest of the file.
* break out of loop if we run out of mbufskmacy2009-02-021-5/+6
|
* Goof, catch up to constant rename (I renamed it to match the overall PCIjhb2009-02-021-1/+1
| | | | | | style of having register offsets start with PCIR_* rather than PCI_*). Submitted by: rss
* - Add a new ioctl to /dev/pci to fetch details on an individual BAR of ajhb2009-02-021-0/+9
| | | | | | | | | | | | | | | | device. The details include the current value of the BAR (including all the flag bits and the current base address), its length, and whether or not it is enabled. Since this operation is not invasive, non-root users are allowed to use it (unlike manual config register access which requires root). The intention is that userland apps (such as Xorg) will use this interface rather than dangerously frobbing the BARs from userland to obtain this information. - Add a new sub-mode to the 'list' mode of pciconf. The -b flag when used with -l will now list all the active BARs for each device. (Missed in previous commit) MFC after: 1 week
* Provide a type for the argument.rdivacky2009-02-021-1/+1
| | | | Approved by: kib (mentor)
* Properly retun error core from kbdmux_modevent()emax2009-02-021-1/+1
| | | | | Reported by: Christoph Mallon < christoph -dot- mallon -at- gmx -dot- de > MFC after: 1 week
* Begin basic improvements to fwcontrol in the area of handlingsbruno2009-02-022-13/+12
| | | | | | | | | video streams from cameras. This patch changes the displayed timer to a time stamp and corrects one or two mishandled errors. Submitted by: imp
* Move a comment to where it belongs.cognet2009-02-021-2/+1
| | | | Spotted out by: Christoph Mallon <christoph d0t mallon AT gmx d0t de>
* Remove unused variables.cognet2009-02-025-13/+4
| | | | Spotted out by: Christoph Mallon <christoph d0t mallon AT gmx d0t de>
* - Add a new ioctl to /dev/pci to fetch details on an individual BAR of ajhb2009-02-024-11/+169
| | | | | | | | | | | | | | device. The details include the current value of the BAR (including all the flag bits and the current base address), its length, and whether or not it is enabled. Since this operation is not invasive, non-root users are allowed to use it (unlike manual config register access which requires root). The intention is that userland apps (such as Xorg) will use this interface rather than dangerously frobbing the BARs from userland to obtain this information. - Add a new sub-mode to the 'list' mode of pciconf. The -b flag when used with -l will now list all the active BARs for each device. MFC after: 1 month
* - Use a separate pointer to the allocated memory for freeing, as strsep maylulf2009-02-021-3/+3
| | | | | | | | | | modify the pointer argument passed to it. This triggered an assert in malloc when a geom command being run under the livefs environment. PR: bin/130632 Submitted by: Dimitry Andric <dimitry -at- andric.com> Pointy hat to: me MFC after: 2 days
* Hook up btpand(8) to the buildemax2009-02-021-0/+1
| | | | MFC after: 1 month
* Fix client mode. Pick up service availability changes.emax2009-02-023-21/+19
| | | | | Obtained from: NetBSD MFC after: 1 month
* o make SAVE_CCK slightly less error prone by always writing the _flagsam2009-02-021-2/+3
| | | | | value used later by RESTORE_CCK o swap arg order in RESTORE_CCK to slightly reduce cost
* restore variable initialization removed in r187831; this brokesam2009-02-021-1/+1
| | | | | the horrible SAVE/RESTORE_CCK macros used by swan/nala cards to implement 11b using 11g
* Since, rc.d/defaultroute has the ability to wait for amtm2009-02-021-1/+1
| | | | | | default route to show up we can turn this knob back on without screwing subsequent daemons that expect to be able to talk to the outside world.
* The 30 second wait for network interfaces to show up effectively makes themtm2009-02-021-4/+15
| | | | | | time to boot an unplugged system 30 sec. longer for no good reason. Therefore, add a check to make sure that any DHCP interfaces are plugged in before waiting.
OpenPOWER on IntegriCloud