summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Rename from apm_bioscall.s to apm_bioscall.S for removing a special rulenyan2005-04-203-7/+2
| | | | | | to build a module. A repo-copy is not done because it has no important logs. Pointed out by: ru
* Remove extra ifnet pointer from private data. It can be accessed via arpcom.glebius2005-04-201-6/+5
|
* Add macro NG_COPYMESSAGE(), which allocates memory and creates aglebius2005-04-201-1/+22
| | | | copy of given control message.
* - Call if_link_state_change() for each vlan, when link changesglebius2005-04-201-7/+4
| | | | | | | | | on parent. - Remove route.h include. - Fix comment about MII. Sponsored by: Rambler Reviewed by: yar
* Remove anti-LOR bandaid, it is not needed now.glebius2005-04-201-21/+0
| | | | Sponsored by: Rambler
* Do not call all link state callbacks directly, but scheduleglebius2005-04-202-3/+24
| | | | | | | | | | a taskqueue(9) task. This fixes LORs and adds possibility to serve such events pseudorecursively, when link state change of interface causes subsequent change on other interfaces. Sponsored by: Rambler Reviewed by: sam, brooks, mux
* Only compile for the hwpmc module for supported architectures.jkoshy2005-04-201-1/+3
| | | | Submitted by: grehan
* Remove dead variable.jkoshy2005-04-202-6/+4
|
* Check sopt_level in uipc_ctloutput() and return early if it is non-zero.mdodd2005-04-201-0/+3
| | | | | This prevents unintended consequnces when an application calls things like setsockopt(x, SOL_SOCKET, SO_REUSEADDR, ...) on a Unix domain socket.
* Get order right when initializing task file bus resources. ATA drives aregrehan2005-04-202-4/+4
| | | | | now recognised when booting from the drive, as opposed to net-booting which the previous botched commit was tested with.
* Small cleanup of the WPA code additions. The SIOCG80211 and SIOCS80211wpaul2005-04-201-4/+5
| | | | | | | | ioctls are now handled explicitly, but we can't really do anything with them unless the NIC is up (trying to get/set a parameter when the NDIS driver isn't running always yields an error). If something invokes either of these ioctls and the NIC isn't initialized, punt to the default ieee80211_ioctl() routine.
* Move this to the specific architectures that are supported. #ifdef fooimp2005-04-194-13/+39
| | | | | in sys/pmc.h precludes it from working on !i386, !amd64. When that changes, it can be moved back into conf/NOTES.
* The size of a filesystem may be less than the size of the provider itwollman2005-04-191-2/+2
| | | | | | | resides on. Fix the special case of the filesystem fragment size not evenly dividing the size of the provider. Fixing the general case probably requires better superblock validation (left as an exercise to the reader).
* Remove the hack which allowed to use gmirror for root file system,pjd2005-04-192-49/+8
| | | | use root_mount KPI instead.
* Call g_waitidle() before every check the list of holds is empty.pjd2005-04-191-7/+11
| | | | Suggested by: phk
* Remove unused variable that was horking up the LINT buildimp2005-04-192-10/+4
|
* Need more files for i386, need all the files for pc98.imp2005-04-192-0/+8
|
* Minimal changes to get this to compile with -DDEBUG defined as wellimp2005-04-192-2/+6
| | | | as hack a couple used before set warnings for LINT happiness.
* There's no need to include all the detauls of struct bus_space_{tag,handle}imp2005-04-192-83/+84
| | | | in _bus.h when the typedef of the struct pointer will do.
* Since pmc is a CPU feature, grab the mdep file from the i386 directory.imp2005-04-191-0/+6
|
* I accidently committed two 'cleandepend' when I was deciding whichobrien2005-04-191-1/+1
| | | | form was "cleaner".
* Hook smist up to the kernel build.njl2005-04-191-0/+1
|
* Add a driver for SMI-based SpeedStep. The hardware supports two frequencynjl2005-04-192-0/+464
| | | | | | | | | | settings and is an older version of the same design used for ICH SpeedStep. It is only known to be available on PIIX4 chipsets. Many thanks to Bruno Ducrot for writing the driver and Jon Noack for testing. Submitted by: Bruno Ducrot
* Add preliminary support for WPA-PSK using wpa_supplicant and thewpaul2005-04-191-2/+319
| | | | | | net80211 code, graciously contributed by Arvind Srinivasan. Submitted by: Arvind Srinivasan arvind at celar daht us
* Further narrow down critical region of FSBASE code.davidxu2005-04-191-1/+1
|
* Use critical section functions rather than scheduler lock to protectdavidxu2005-04-191-4/+4
| | | | critical region.
* CFA (Compact Flash) devices has a special config ID that fails thesos2005-04-192-1/+3
| | | | normal ATA device check in ata-disk.c. Add support for the CFA magic.
* Clear P_STATCHILD earlier to avoid unnecessary retrying.davidxu2005-04-191-0/+5
|
* Make DUMMYNET compile without INET6phk2005-04-191-0/+8
|
* typophk2005-04-191-1/+1
|
* Make IPFIREWALL compile without INET6phk2005-04-191-3/+18
|
* Oops, forgot to update this file.davidxu2005-04-191-17/+9
| | | | | | | | | | | Fix a race condition between kern_wait() and thread_stopped(). Problem is in kern_wait(), parent process steps through children list, once a child process is skipped, and later even if the child is stopped, parent process still sleeps in msleep(), the race happens if parent masked SIGCHLD. Submitted by : Peter Edwards peadar.edwards at gmail dot com MFC after : 4 days
* Fix a race condition between kern_wait() and thread_stopped().davidxu2005-04-192-1/+6
| | | | | | | | | | Problem is in kern_wait(), parent process steps through children list, once a child process is skipped, and later even if the child is stopped, parent process still sleeps in msleep(), the race happens if parent masked SIGCHLD. Submitted by : Peter Edwards peadar.edwards at gmail dot com MFC after : 4 days
* Call g_waitidle() instead of GEOM using the root_mount_hold() KPI.phk2005-04-192-6/+3
| | | | | GEOM could (and will) get events as a result of drivers coming in late so a one-shot method is not good enough for GEOM.
* Provide a way to soft reset a proxy controller such as an MSA20 orps2005-04-193-0/+58
| | | | | MSA500. This is useful if you need to reset one of the storage arrays on reboot.
* Fix indentation problem in the last commitsos2005-04-191-16/+18
|
* Bring a working snapshot of hwpmc(4), its associated libraries, userland ↵jkoshy2005-04-1931-4/+16147
| | | | | | | | | | utilities and documentation into -CURRENT. Bump FreeBSD_version. Reviewed by: alc, jhb (kernel changes)
* Unbreak the pc98 build by including enough information in the _bus.himp2005-04-192-51/+51
| | | | | | | for _bus.h to compile. Pointy hat to: imp Breakage noted by: nyan-san
* Break out the definition of bus_space_{tag,handle}_t and a few other typesimp2005-04-1816-113/+400
| | | | | | | | | | into _bus.h to help with name space polution from including all of bus.h. In a few days, I'll commit changes to the MI code to take advantage of thse sepration (after I've made sure that these changes don't break anything in the main tree, I've tested in my trees, but you never know...). Suggested by: bde (in 2002 or 2003 I think) Reviewed in principle by: jhb
* Add a named reference-count KPI to hold off mounting of the root filesystem.phk2005-04-184-6/+65
| | | | | | | | | | | | While we wait for holds to be released, print a list of who holds us back once per second. Use the new KPI from GEOM instead of vfs_mount.c calling g_waitidle(). Use the new KPI also from ata. With ATAmkIII's newbusification, ata could narrowly miss the window and ad0 would not exist when we tried to mount root.
* Initialize mountlist_mtx with an MTX_SYSINIT(), we need it to be readyphk2005-04-182-1/+1
| | | | earlier.
* As with kernel-depend, rm the DEPENDFILE before modules-depend.obrien2005-04-181-1/+2
|
* Initial import of ipw, iwi, ral and ural drivers:damien2005-04-1824-0/+11889
| | | | | | | | | ipw - Intel PRO/Wireless 2100 iwi - Intel PRO/Wireless 2200BG/2225BG/2915ABG ral - Ralink Technology RT2500 ural - Ralink Technology RT2500USB Approved by: silby (mentor)
* Add IPv6 support to IPFW and Dummynet.brooks2005-04-186-48/+531
| | | | Submitted by: Mariano Tortoriello and Raffaele De Lorenzo (via luigi)
* Rewrite of tcp_update_sack_list() to make it simpler and more readableps2005-04-181-74/+67
| | | | | | | than our original OpenBSD derived version. Submitted by: Noritoshi Demizu Reviewed by: Mohan Srinivasan, Raja Mukerji
* Add uma zone for composite ops.sos2005-04-183-19/+42
| | | | Submitted by: des
* Adjust the RAID type pickup code for the VIA, we dont actually caresos2005-04-182-8/+18
| | | | if the array is bootable or not (yet).
* TCP reconnect is not an error.rees2005-04-181-3/+3
| | | | | | Change the message from LOG_ERR to LOG_INFO. Approved by: alfred
* Introduce p_canwait() and MAC Framework and MAC Policy entry pointsrwatson2005-04-1810-0/+76
| | | | | | | | | | | | | | | mac_check_proc_wait(), which control the ability to wait4() specific processes. This permits MAC policies to limit information flow from children that have changed label, although has to be handled carefully due to common programming expectations regarding the behavior of wait4(). The cr_seeotheruids() check in p_canwait() is #if 0'd for this reason. The mac_stub and mac_test policies are updated to reflect these new entry points. Sponsored by: SPAWAR, SPARTA Obtained from: TrustedBSD Project
* Remove end-of-line tabs.rwatson2005-04-181-1/+1
| | | | MFC after: 3 days
OpenPOWER on IntegriCloud