summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Include opt_pmap.h for PMAP_SHPGPERPROC.alc2006-04-131-0/+1
| | | | PR: 94509
* Common register definition for AT91RM9200imp2006-04-121-0/+2747
|
* Recovery boot loader for the AT91 family of processors. Download itimp2006-04-1211-0/+769
| | | | | | | | | | | | | | | | via xmodem to the DBGU port when the AT91 comes up in recovery mode. The recovery loader will then load your program via xmodem into SDRAM at 1MB which can do its things. It needs to be tweaked to the specific board one is using, but it fits in < 1kB (all of Atmel's ARM products have at least 8kb of SRAM that I can tell, so this should work for them all). Parts of this code were provided by Kwikbyte with copyright specifically disclaimed. I heavily modified it to act as a recovery loader (before it was a bootstrap loader) and to optimize for size (before I started the size was closer to 8k). Bootstrap loaders for SPI and IIC to follow.
* Fix the PHY support for the 5780. I mis-merged this from my sources.ps2006-04-121-0/+1
|
* Pass BIO_GETATTR requests down.pjd2006-04-121-5/+14
| | | | MFC after: 1 week
* Remove unused prototypes.pjd2006-04-121-2/+0
|
* On padlock initialization, allocate memory with M_WAITOK.pjd2006-04-121-5/+1
|
* Correct an obvious typo.pjd2006-04-121-1/+1
| | | | MFC after: 1 week
* Use ANSI C function protypes and declarations for if_arcsubr.rwatson2006-04-122-34/+14
| | | | MFC after: 1 month
* Retire pmap_track_modified(). We no longer need it because we do notalc2006-04-124-144/+42
| | | | | | | | create managed mappings within the clean submap. To prevent regressions, add assertions blocking the creation of managed mappings within the clean submap. Reviewed by: tegge
* Assert the inpcb lock in udp6_output(), as we dereference variousrwatson2006-04-121-0/+2
| | | | | | fields. MFC after: 3 months
* Add comment to udp6_input() that locking is missing from multicastrwatson2006-04-121-1/+8
| | | | | | | | | UDPv6 delivery. Lock the inpcb of the UDP connection being delivered to before processing IPSEC policy and other delivery activities. MFC after: 3 months
* Add udbinfo locking in udp6_input() to protect lookups of the inpcbrwatson2006-04-121-2/+8
| | | | | | lists during UDPv6 receipt. MFC after: 3 months
* Don't use spl around call to in_pcballoc() in IPv6 raw socket support;rwatson2006-04-121-3/+1
| | | | | | all necessary synchronization appears present. MFC after: 3 months
* Remove one remaining use of spl in the IPv6 fragmentation code, asrwatson2006-04-121-3/+0
| | | | | | this code appears properly locked. MFC after: 3 months
* Add missing locking to udp6_getcred(), remove spl use.rwatson2006-04-121-24/+21
| | | | MFC after: 3 months
* Remove spl use from IPv6 inpcb code.rwatson2006-04-121-25/+13
| | | | | | | In various inpcb methods for IPv6 sockets, don't check of so_pcb is NULL, assert it isn't. MFC after: 3 months
* Make this compile without INVARIANTS.cognet2006-04-111-0/+2
|
* Merge in timeout into A20-enable routine from cdboot/boot1.sobomax2006-04-111-3/+10
| | | | MFC after: 1 day
* Drop the gateA20() function in the loader as it is unused. All the otherjhb2006-04-115-100/+2
| | | | | boot loaders that load the loader already handle A20. In fact, they are required to do so in order to setup the environment that btxldr expects.
* Minor whitespace tweak.jhb2006-04-111-2/+1
|
* Be sure to wakeup the crypto thread when new request was queued.pjd2006-04-111-6/+8
| | | | | | This should fix a hang when starting cryptokeytest (and more). MFC after: 1 month
* Tweak comment.jhb2006-04-111-4/+4
|
* Use the proper condition to determine that we matched an filename.jhb2006-04-111-1/+1
| | | | | | | | | Otherwise, we could match on a filename that had the wrong last character (such as /boot/loaded instead of /boot/loader). PR: kern/95625 Submitted by: Oliver Fromme <olli@secnetix.de> MFC after: 1 month
* A large set of changes:mjacob2006-04-115-623/+966
| | | | | | | | | | | | | | | | | | | | | | | | | + Add boatloads of KASSERTs and *really* check out more locking issues (to catch recursions when we actually go to real locking in CAM soon). The KASSERTs also caught lots of other issues like using commands that were put back on free lists, etc. + Target mode: role setting is derived directly from port capabilities. There is no need to set a role any more. Some target mode resources are allocated early on (ELS), but target command buffer allocation is deferred until the first lun enable. + Fix some breakages I introduced with target mode in that some commands are *repeating* commands. That is, the reply shows up but the command isn't really done (we don't free it). We still need to take it off the pending list because when we resubmit it, bad things then happen. + Fix more of the way that timed out commands and bus reset is done. The actual TMF response code was being ignored. + For SPI, honor BIOS settings. This doesn't quite fix the problems we've seen where we can't seem to (re)negotiate U320 on all drives but avoids it instead by letting us honor the BIOS settings. I'm sure this is not quite right and will have to change again soon.
* - Add support for the Acer Acerscan 640BT.flz2006-04-112-0/+2
| | | | | | | | | - Add documentation bits. PR: usb/95616 Submitted by: Matthieu Guegan <lesaint@gcu.info> Approved by: cperciva (mentor) MFC after: 3 days
* When enabling A20 put upper limit on amount of time we wait for the keyboardsobomax2006-04-111-3/+10
| | | | | | | | | | | controller to get ready (65K x ISA access time, visually around 1 second). If we have wait more than that amount it's likely that the hardware is a legacy-free one and simply doesn't have keyboard controller and doesn't require enabling A20 at all. This makes cdboot working for MacBook Pro with Boot Camp. MFC after: 1 day
* Fix a cut-n-paste bug that crept in.jkoshy2006-04-111-2/+2
| | | | Reported by: "Pawel Worach" pawel.worach at gmail.com
* Hook bce up to the buildps2006-04-105-0/+8
|
* Add a driver for the Broadcom NetXtreme II (BCM5706/BCM5708)ps2006-04-106-26/+15301
| | | | | | PCI/PCIe Gigabit Ethernet adapeter. Submitted by: David Christensen
* safe(4) doesn't support explicitly provided keys. Return an error insteadpjd2006-04-101-0/+7
| | | | of encrypting/decrypting data with a wrong key.
* ubsec(4) doesn't support explicitly provided keys. Return an error insteadpjd2006-04-101-0/+7
| | | | of encrypting/decrypting data with a wrong key.
* - Simplify the code by using arc4rand(9) instead of arc4random(9) in a loop.pjd2006-04-101-22/+3
| | | | | | - Correct a comment. MFC after: 2 weeks
* Hide net.inet.ipsec.test_{replay,integrity} sysctls under #ifdef REGRESSION.pjd2006-04-104-0/+12
| | | | Requested by: sam, rwatson
* ip6_mrouter_done(): use if_allmulti(0) for disabling the multicast ↵suz2006-04-101-7/+1
| | | | | | | promiscuous mode Obtained from: KAME MFC after: 2 days
* Kill the last Giant acquisition in the exit(2) code. This Giant acquisitioncsjp2006-04-101-2/+0
| | | | | | | | | | doesn't appear to be protecting anything. Most of consumers funsetownlst(9) do not appear to be picking up Giant anywhere. This was originally a part of my Giant exit(2) clean up revision 1.272 but I thought it was a good idea to leave it out until we were able to analyze it better. Tested by: kris MFC after: 3 weeks
* Introduce and use delayed-destruction functionality from a pre-sync hook,pjd2006-04-106-111/+174
| | | | | | | | | | which means that devices will be destroyed on last close. This fixes destruction order problems when, eg. RAID3 array is build on top of RAID1 arrays. Requested, reviewed and tested by: ru MFC after: 2 weeks
* - Add support for the Epson RX425 scanner.flz2006-04-102-0/+2
| | | | | | | PR: usb/95346 Submitted by: Matthieu Guegan <lesaint@gcu.info> Approved by: cperciva (mentor) MFC after: 3 days
* On shutdown try to turn off all swap devices. This way GEOM providers arepjd2006-04-103-19/+70
| | | | | | | | properly closed on shutdown. Requested by: ru Reviewed by: alc MFC after: 2 weeks
* Fix some small bugs.scottl2006-04-101-2/+7
| | | | | Submitted by: pjd Found by: Coverity Prevent (tm)
* Use proc lock to prevent a thread from exiting, Giant was no longer used todavidxu2006-04-104-54/+20
| | | | protect thread list.
* MFp4:marcel2006-04-101-20/+169
| | | | | | | | | | | | o Implement the remove verb to remove a partition entry. o Improve error reporting by first checking that the verb is valid. o Add an entry parameter to the add verb. this parameter can be both read-only as welll as read-write and specifies the entry number of the newly added partition. o Make sure that the provider is alive when passed to us. It may be withering away. o When adding a new partition entry, test for overlaps with existing partitions.
* Add g_wither_provider() to abstract the details of destroying amarcel2006-04-104-3/+15
| | | | | | particular provider. Use this function where g_orphan_provider() is being called so that the flags are updated correctly and g_orphan_provider() is called only when allowed.
* MFp4: Use CPU_CONTROL_ROUNDROBIN for arm9, it seems to give marginallycognet2006-04-091-1/+2
| | | | better performances.
* Update to DRM CVS as of 2006-04-09. The most notable new feature is the updatedanholt2006-04-0921-769/+1265
| | | | | | | Radeon memmap code, which with a new DDX driver and DRI drivers should fix long-term stability issues with Radeons. Also adds support for r200's ATI_fragment_shader, r300 texrect support and texture caching fixes, i915 vblank support and bugfixes, and new PCI IDs.
* Not only disable/enable interrupts, do it for FIQs as well, when needed.cognet2006-04-093-11/+24
|
* MFp4: Don't write-back the PTEs if they are mapped write-through, this wascognet2006-04-091-5/+0
| | | | apparently only needed because skyeye has bugs in its cache emulation.
* Introduce two new sysctls:pjd2006-04-094-2/+54
| | | | | | | | | | | | | net.inet.ipsec.test_replay - When set to 1, IPsec will send packets with the same sequence number. This allows to verify if the other side has proper replay attacks detection. net.inet.ipsec.test_integrity - When set 1, IPsec will send packets with corrupted HMAC. This allows to verify if the other side properly detects modified packets. I used the first one to discover that we don't have proper replay attacks detection in ESP (in fast_ipsec(4)).
* Be consistent with the rest of the code.pjd2006-04-091-1/+1
|
* In natm_usr_abort(), replace existing call to natm_usr_shutdown() withrwatson2006-04-091-1/+1
| | | | | | | | | natm_usr_detach(), which actually does the right thing. This code has never worked properly, but also was never invoked since we only abort connections associated with listen sockets, and netnam doesn't support listen sockets. MFC after: 3 months
OpenPOWER on IntegriCloud