summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Fix fwdev memory leak on detaching.simokawa2003-02-181-5/+13
|
* Use pci_get_devid().simokawa2003-02-182-24/+24
|
* Add 'uPD72871/2 IEEE1394 1-Chip OHCI Host Controller'.simokawa2003-02-182-0/+5
|
* * firewire.csimokawa2003-02-182-1/+19
| | | | | | | | | - Fix memory leak in detaching. - Initialize fc->status to other than FWBUSREST. * fwohci.c - Ignore BUS reset events while BUS reset phase. We can't clear that flag during bus reset phase.
* Add central and fhc.jake2003-02-181-0/+2
|
* Add drivers for the central and fhc busses found in enterprise classjake2003-02-189-0/+1087
| | | | | | | | | | | | UltraSPARCs, and an eeprom attachment for fhc, which allows the date to be set properly on these machines. Central is a wierd bus which seems to only ever have 1 fhc attached to it. FHC (FireHose Controller) is another wierd bus with various things on it depending where its attached. The fhc attached to central has eeprom and zs, and the fhcs which attach directly to nexus have simm-status, environment and other nodes, none of which I'll probably ever have documentation for. Thanks to Ade Lovett for providing access to an 8 cpu e4500.
* remove stray debugging printfsam2003-02-181-1/+0
| | | | Noted by: Kasper Steensgaard <steensgaard@person.dk>
* M_MOVE_PKTHDR must happen before any cluster is attachedsam2003-02-181-2/+3
| | | | | Submitted by: Harti Brandt <brandt@fokus.fraunhofer.de> MFC after: 1 day
* Initiate de-orbit burn for USE_PCI_BIOS_FOR_READ_WRITE. This has beenpeter2003-02-188-427/+87
| | | | | | | | | | | | | | #if'ed out for a while. Complete the deed and tidy up some other bits. We need to be able to call this stuff from outer edges of interrupt handlers for devices that have the ISR bits in pci config space. Making the bios code mpsafe was just too hairy. We had also stubbed it out some time ago due to there simply being too much brokenness in too many systems. This adds a leaf lock so that it is safe to use pci_read_config() and pci_write_config() from interrupt handlers. We still will use pcibios to do interrupt routing if there is no acpi.. [yes, I tested this] Briefly glanced at by: imp
* Include class designation in pnpinfo for generic driver loadingimp2003-02-181-2/+3
|
* Sanity check the BAR length reported by the CIS with the BAR length thatscottl2003-02-171-4/+22
| | | | | | | | is encoded in the PCI BAR. The latter is more reliable. This allows the sio/modem function of the Xircom RealPort ethernet+modem card to work. Note that there still seem to be issues with sio_pci not releasing resources on detach.
* Move the pnp and location info into the common pci bus. Make all knownimp2003-02-174-46/+41
| | | | | | | | | pci busses implement this. Also minor comment smithing in cardbus. Fix copyright to this year with my name on it since I've been doing a lot to this file. Reviewed by: jhb
* an driver now needs wlan, so put the required explicit dependsimp2003-02-173-0/+3
| | | | | | into the source. Reviewed by: ambrisko
* Kill a now-bogus commentimp2003-02-171-4/+0
|
* These don't need to be semi-public after all.imp2003-02-172-5/+5
|
* Bump pnpinfo and location size to 128 bytes. Since these are computedimp2003-02-171-2/+2
| | | | | | | on the fly and read into userland one at a time, this costs very little total memory. The pnpinfo sizes of pccard is more than 64 bytes due to the length of the strings that man cards have in their CIS.
* Further fix PS_NEEDSIGCHKdavidxu2003-02-172-0/+4
|
* Move code for detecting PS_NEEDSIGCHK into thread_schedule_upcall,davidxu2003-02-173-2/+4
| | | | I think it is a better place to handle it.
* * firewire.csimokawa2003-02-172-48/+19
| | | | | | | | | | | | | - Don't initiate bus reset even if probe failed for some nodes to prevent infinite bus reset loop. Problem Reported by: Pierre Beyssac <pb@fasterix.frmug.org> - Protect timeout routine with splfw() for 4-stable. * sbp.c - Make sure to release devq when start request.
* o Restore an interrupt priority level before return.maxim2003-02-171-0/+2
| | | | | | Submitted by: Roman Kurakin <rik@cronyx.ru> Reviewed by: joerg MFC after: 5 days
* o Fix ipfw uid rules: socheckuid() returns 0 when uid matches a socketmaxim2003-02-171-2/+2
| | | | | | | | | | | | cr_uid. Note: we do not have socheckuid() in RELENG_4, ip_fw2.c uses its own macro for a similar purpose that is why ipfw2 in RELENG_4 processes uid rules correctly. I will MFC the diff for code consistency. Reported by: Oleg Baranov <ol@csa.ru> Reviewed by: luigi MFC after: 1 month
* Fix missed patch in last commitjulian2003-02-172-10/+6
|
* Use the proc lock to protect p_realtimer instead of Giant, and obtaintjr2003-02-175-48/+38
| | | | | | sched_lock around accesses to p_stats->p_timer[] to avoid a potential race with hardclock. getitimer(), setitimer() and the realitexpire() callout are now Giant-free.
* - Add a new function, thread_signal_add(), that is called from postsig tojeff2003-02-175-61/+82
| | | | | | | | add a signal to a mailbox's pending set. - Add a new function, thread_signal_upcall(), this causes the current thread to upcall so that we can deliver pending signals. Reviewed by: mini
* Move a bunch of flags from the KSE to the thread.julian2003-02-1735-110/+89
| | | | | | | | I was in two minds as to where to put them in the first case.. I should have listenned to the other mind. Submitted by: parts by davidxu@ Reviewed by: jeff@ mini@
* Define _ALIGNBYTES to be 15. This should have been done right away.marcel2003-02-171-1/+1
|
* Print two new processor features:marcel2003-02-171-2/+4
| | | | | o Spontaneous deferral (A feature required by dutch railways :-) o 16-byte atomic operations (ld, st, cmpxchg)
* - Split the struct kse into struct upcall and struct kse. struct kse willjeff2003-02-1719-1324/+1419
| | | | | | | soon be visible only to schedulers. This greatly simplifies much the KSE code. Submitted by: davidxu
* Move call to pci_print_verbose until after all the variables that itimp2003-02-171-1/+1
| | | | | | depends on. Pointy hat to: imp (anybody know if these things are accepted at Eco-Cycle?)
* - Move ke_sticks, ke_iticks, ke_uticks, ke_uu, ke_su, and ke_iu back intojeff2003-02-1711-98/+87
| | | | | | | the proc. These counters are only examined through calcru. Submitted by: davidxu Tested on: x86, alpha, UP/SMP
* zero the end of the memory cluster we're disposing of. Otherwise tehgallatin2003-02-161-0/+1
| | | | | | | vm page startup code finds a 20GB cluster on this wacky alphaserver I'm working on.. MFC After: 7 days
* Change "dev_t gdbdev" to "void *gdb_arg", some possible paths for GDBphk2003-02-168-30/+30
| | | | will not have a dev_t.
* Whatever dumbass wrote sio_pci.c didn't include a detach method.imp2003-02-161-0/+1
| | | | | | | | | | | Wearing said pointy hat, correct the oversight and hope nobody notices. # this should make xircom modems happier to detach once other bugs with # the cardbus layer are fixed. Noticed by: scottl Conical Hat to: imp
* No need to wrap siodetach() with sio_pccard_detach.imp2003-02-161-9/+1
|
* When trimming memory to fit Maxmem, and we discard an entire cluster,gallatin2003-02-161-0/+1
| | | | | | | make certain to subtract its pages from physmem. Otherwise we end up running phys_avail_cnt negative, and bad stuff happens. MFC After: 1 week
* Fix logic in loop so it actually executes.alfred2003-02-161-1/+1
| | | | Pointed out by: fjoe
* Pointy hat- bad commit.mjacob2003-02-161-1/+1
|
* This file is now empty and should no longer be used anywhere.phk2003-02-161-0/+2
| | | | Put a #warning here to alert people to the fact.
* Remove #include <sys/dkstat.h>phk2003-02-1629-29/+0
|
* Move cp_time[CPUSTATES] and related #defines to <sys/resource.h>phk2003-02-162-12/+8
|
* Declare tty related counters in a tty related .h file.phk2003-02-162-4/+4
|
* Move the tty related statistics counters to live with the tty code.phk2003-02-162-5/+5
|
* - Introduce a new function bremfreel() that does a bremfree with the bufjeff2003-02-161-8/+14
| | | | | | | | | queue lock already held. - In getblk() and flushbufqueues() use bremfreel() while we still have the buf queue lock held to keep the lists consistent. - Add LK_NOWAIT to two cases where we're essentially asserting that the bufs are not locked while acquiring the locks. This will make sure that we get the appropriate panic() and not another one for sleeping with a lock held.
* - Add a WITNESS_SLEEP() for the appropriate cases in lockmgr().jeff2003-02-161-0/+7
|
* Remove GIANT_REQUIRED from vm_pageq_remove().alc2003-02-161-1/+0
|
* prevent overflow in shminfo.shmmaxalfred2003-02-161-1/+5
|
* Add MPSAFE comment to linux_sigpending().tjr2003-02-161-0/+3
|
* Regen from syscalls.master 1.52.tjr2003-02-163-5/+11
|
* Mark linux_sigpending() as MPSAFE.tjr2003-02-162-2/+2
|
* Regen from syscalls.master 1.49.tjr2003-02-163-5/+11
|
OpenPOWER on IntegriCloud