summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Style(9) a comment added in previous commit.gallatin2003-04-111-2/+4
| | | | Pointed out by: bde
* - Call ether_ifdetach() before shutting down the hardware.mux2003-04-111-20/+18
| | | | | | | | | | - Remove a useless device_is_alive() check. - Disable interrupts if bus_child_present() so that this check is more useful. This fixes the hangs I was seeing when unloading the fxp driver. Suggestions from: hsu, njl
* The data in an sf_buf should not be modified by the mbuf system. Markalc2003-04-111-1/+1
| | | | | | the mbuf as read only. Reviewed by: gallatin
* - Add a SYSCTL node for the ule scheduler.jeff2003-04-111-300/+406
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Allow user adjustable min and max time slices (suggested by hiten). - Change the SLP_RUN_MAX to 100ms from 2 seconds so that we learn whether a process is interactive or not much more quickly. - Place a process on the current run queue if it is interactive or if it is running at an interrupt thread priority due to priority prop. - Use the 'current' timeshare queue for interrupt threads, realtime threads, and idle threads that are running at higher priority due to priority prop. This fixes problems where priorities would have been elevated but we would not check the timeshare run queue until other lower priority tasks were no longer runnable. - Keep an array of loads indexed by the priority class as well as a global load. - Keep an bucket of nice values with a count of the number of kses currently runnable with that nice value. - Keep track of the minimum nice value of any running thread. - Remove the unused short term sleep accounting. I was attempting to use this for load balancing but it didn't work out. - Define a kseq_print() for use with debugging. - Add KTR debugging at useful places so we can easily debug slice and priority assignment. - Decouple the runq assignment from the kseq assignment. kseq_add now keeps track of statistics. This is done so that the nice and load is still tracked for the currently running process. Previously if a niced process was added while a non nice process was running the niced process would still get a slice since it was not aware of the unnice process. - Make adjustments for the sched api changes.
* - Catch up with sched api changes.jeff2003-04-111-15/+48
|
* - Adjust sched hooks for fork and exec to take processes as arguments insteadjeff2003-04-115-20/+27
| | | | | | | | | | of ksegs since they primarily operation on processes. - KSEs take ticks so pass the kse through sched_clock(). - Add a sched_class() routine that adjusts a ksegrp pri class. - Define a sched_fork_{kse,thread,ksegrp} and sched_exit_{kse,thread,ksegrp} that will be used to tell the scheduler about new instances of these structures within the same process. These will be used by THR and KSE. - Change sched_4bsd to reflect this API update.
* fxp(4) works on sparc64.bmah2003-04-112-2/+2
|
* Mention DARPA and Network Associate Laboratories.jake2003-04-112-2/+6
| | | | Sponsored by: DARPA, Network Associates Laboratories
* Put the MAKEDEV item in correct alphabetical order.bmah2003-04-112-6/+6
|
* New release notes: PAE, diskinfo(8), jail(8) -i, jexec(8), jls(8),bmah2003-04-112-2/+88
| | | | | | | killall(1) -j, mount(8)/umount(8) -F, rtld(1) dynamic mapping and libmap.conf(5), 1:1 threading. Modified release notes: Use wlan(4) manpage hyperlink.
* I deserve a big pointy hat for having missed all those referencesmux2003-04-1017-50/+42
| | | | to bus_dmasync_op_t in my last commit.
* - Clean up the fxp_release() and fxp_detach() functions.mux2003-04-101-46/+46
| | | | | | | | - Be sure to teardown the interrupt first so that "kldunload if_fxp" doesn't panic the box. It's now deadlocking rather than crashing, which isn't really better, but I'm unsure this is fxp(4)'s fault. - Change a bus_dmamap_sync() call to also do a BUS_DMASYNC_PREREAD now that we can pass several operations.
* Convert the SMP_TSC kernel option into a loader tunable. Also enabledes2003-04-105-20/+40
| | | | | the TSC timecounter on single-CPU systems even when they are running an SMP kernel.
* Change the operation parameter of bus_dmamap_sync() from anmux2003-04-1014-116/+60
| | | | | | enum to an int and redefine the BUS_DMASYNC_* constants as flags. This allows us to specify several operations in one call to bus_dmamap_sync() as in NetBSD.
* Quote authname and authkey. Some ISPs allow (or even require)keramida2003-04-104-25/+25
| | | | | | | | | non-alphanumeric characters in these and this will be a hint to the users that quotes can and should be used in such cases. PR: docs/42292 Submitted by: Matthias Andree <matthias.andree@web.de> MFC after: 1 week
* Remove a potential panic condition introduced by reduced TCP waitrwatson2003-04-102-10/+30
| | | | | | | | | | | | | | | | | | state. Those changed attempted to work around the changed invariant that inp->in_socket was sometimes now NULL, but the logic wasn't quite right, meaning that inp->in_socket would be dereferenced by cr_canseesocket() if security.bsd.see_other_uids, jail, or MAC were in use. Attempt to clarify and correct the logic. Note: the work-around originally introduced with the reduced TCP wait state handling to use cr_cansee() instead of cr_canseesocket() in this case isn't really right, although it "Does the right thing" for most of the cases in the base system. We'll need to address this at some point in the future. Pointed out by: dcs Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Enable loadable modules to be unloaded on alphas with shared isagallatin2003-04-101-9/+21
| | | | | interrupts by only disabling the interrupt in hardware if the handler being removed is the only handler.
* - Kill the pv_flags member of the alpha mdpage since it stop being usedjhb2003-04-104-22/+0
| | | | | | in rev 1.61 of pmap.c. - Now that pmap_page_is_free() is empty and since it is just a hack for the Alpha pmap, remove it.
* Check M_TRYWAIT as a flag, not a constant, in MBTOM() mbuf allocatorrwatson2003-04-101-1/+1
| | | | to malloc flag converter.
* Catch up with the kernel. Move the current cpu indicator to the thread.julian2003-04-101-3/+1
|
* Move the _oncpu entry from the KSE to the thread.julian2003-04-1015-16/+19
| | | | | The entry in the KSE still exists but it's purpose will change a bit when we add the ability to lock a KSE to a cpu.
* Print real memory/avail memory on startup like other platforms. Hidejake2003-04-101-2/+10
| | | | printing the model under bootverbose.
* Add NTT-ME SS-LAN CARD MN128. This card entry has beenshiba2003-04-101-0/+6
| | | | committed into NEWCARD.
* NEC PK-WL001 is Lucent, not Prism-II.shiba2003-04-101-1/+1
|
* Spell 55 with two '5'ssos2003-04-101-2/+2
|
* Add a few more older SiS ID's.sos2003-04-102-34/+41
|
* Brucify.des2003-04-101-4/+8
|
* Forced commit to fill in the fields below for the last commit. Alsoharti2003-04-101-1/+1
| | | | | | | bump the date of the man page. PR: docs/24797 Reviewed by: bde, jake, jhb
* When called with s == NULL, behave as if wc == L'\0' as required by thetjr2003-04-101-1/+3
| | | | standard.
* Add quirk for LOGITECH WMRPAD.mdodd2003-04-101-0/+1
| | | | Submitted by: Mathew Kanner <mat@cnd.mcgill.ca>
* - Add LOGITECH WMRPAD, MOTOROLA SB410, and SANDISK SDDR05.mdodd2003-04-103-0/+24
| | | | - Regenerate.
* Fix debounce. I forgot these bits in my last commit.mdodd2003-04-101-1/+3
| | | | Submitted by: Mathew Kanner <mat@cnd.mcgill.ca>
* Fix interrupt race.imp2003-04-101-1/+1
| | | | From NetBSD
* SMC 8041 is the same thing as LINKSYS COMBO_ECARD, so no extra entryimp2003-04-101-1/+0
| | | | | | | | | | is required. NetBSD has one because it checks for the mac address match as well wanting to give its own string in the description. Since we do neither, we don't need a separate entry. # I suspect that a few of the COREGA cards might fall into that category # as well, but since I don't have access to any of them it is hard to know # for sure.
* - fixed byte order of route lifetimes in route info opptions.suz2003-04-101-2/+2
| | | | | | | - corrected wording in a log message. Obtained from: KAME MFC after: 1 week
* Add Billionton CFLT10N and SMC8041 (although I'm not 100% sure the latter isimp2003-04-101-1/+2
| | | | | | needed). Remove duplicate kingston kne2 entry. Info obtained from NetBSD
* Remove strings by default from PCMCIA_CARD expansion. Add _DESC versionimp2003-04-100-0/+0
| | | | for adding them back. This saves about 2.5k of code space.
* Remove bogus line and entry, restore cnet ne2000 add smc 8041imp2003-04-103-12/+14
|
* Add a sysctl that records and reports the CPU clock rate calculatedwes2003-04-102-0/+12
| | | | | | | at boot. Funny how often this trivial piece of information crops up in embedded boxen. Sponsored by: St. Bernard Software
* reorganize the supported card table. We don't need the enet_vendor orimp2003-04-101-272/+57
| | | | | | | | enet_mcast fields, so remove them. Sort. Eliminate now duplicate entries. This reorg saves about 500 bytes in the binary. I've tested this only with a couple of cards, so please let me know if I've broken anything.
* Sync to 1.46imp2003-04-101-114/+122
|
* MFNetBSD:imp2003-04-101-2/+6
| | | | | | | | | | | 1.182; christos A cardflash NE2000 from Michael Francini 1.181; perry support Corega PCCL-11 -- from Christopher SEKIYA in PR 20932 1.180; ichiro add product TOSHIBA PA2673U CBIDE2 (IODATA OEM) 1.179; kanaoka Add SMC 8041TX 10/100 Ether PC Card.
* Don't set the description if NULL.imp2003-04-101-1/+2
|
* Don't lock in the attach routine. It isn't required. Register theimp2003-04-104-37/+44
| | | | | | | interrupt handler last. This gets rid of the sleep while locked messages. Reviewed by: ambrisko
* Make sure that pp_name is non-null before setting the deviceimp2003-04-1011-11/+21
| | | | | description. This allows us to rely entirely on the CIS entries if necessary...
* Back out the _ND change. I plan on making all drivers default to that withimp2003-04-101-37/+37
| | | | | a special _DESC version for those cards whose CIS is insufficient for some reason. This should save about 3k of kernel strings when complete.
* In [bsd-nomads:16650] shibagaki-san presented an example product id ofimp2003-04-101-1/+1
| | | | | | | | | | | | | | | 0 in a problem that is being discussed. That means that the test for product != 0 may cause problems. Looking at pccarddevs (which i should have done earlier) we see: product BONDWELL B236 0x0000 Game Card Joystick product CONTEC CNETPC 0x0000 Contec C-NET(PC)C product IBM MICRODRIVE 0x0000 IBM Microdrive product RAYTHEON WLAN 0x0000 WLAN Adapter product SOCKET EA_ETHER 0x0000 Socket Communications EA product TDK LAK_CD011WL 0x0000 TDK LAK-CD011WL so use only the vendor field for the end sentinel.
* Code cleanups and sanity checking for config file parser.mdodd2003-04-101-19/+52
|
* Slightly rework formatting in vmstat -i so that it doesn'tmux2003-04-101-3/+3
| | | | break with "fooX irqY" lines that are a bit bigger.
* It appears that msdosfs_init() is called multiple times. This happensimp2003-04-101-0/+13
| | | | | | on my system where I preload msdosfs and have it in my kernel. There's likely another bug that's causing msdosfs_init() to be called multiple times, but this makes that harmless.
OpenPOWER on IntegriCloud