summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Merge linker set relocations with the rest.dfr2001-09-052-0/+2
|
* It is the last-second trivial changes that kill me every time.peter2001-09-051-1/+1
| | | | | | Fix nested comment. :-( Submitted by: obrien
* style(9) the structure definitions.obrien2001-09-059-20/+20
|
* Rework the ISA PnP driver pnp and the PnP resource parser to fixyokota2001-09-058-360/+701
| | | | | | | | | | | | | | | | | | | | | | | | the following bugs. - When constructing a resource configuration, respect the order in which resource descriptors are read, in order to establish the correct mapping between the descriptors and configuration registers. "Plug and Play ISA Specification, Version 1.0a", Sec 4.6.1, May 5, 1994. "Clarifications to the Plug and Play ISA Specification, Version 1.0a", Sec 6.2.1, Dec. 10, 1994. - Do not ignore null (empty) descriptors; they are valid descriptors acting as filler. "Clarifications to the Plug and Play ISA Specification, Version 1.0a", Sec 6.2.1. - Correctly set up logical device configuration registers for null resources. "Clarifications to the Plug and Play ISA Specification, Version 1.0a" - Handle null resources properly in the resource allocator for the ISA bus.
* Attempt to refine the __IDSTRING() macros so that they dont collide withpeter2001-09-051-4/+12
| | | | | | | | | | | each other. This will allow multiple __RCSID() entries in the same file and even __RCSID() in headers. **HOWEVER**, the usefulness of this in headers is somewhat marginal in non-ELF since they would go into the data section where they cannot be easily compressed or stripped. It (id's in headers) is also not useful in the non-GCC case since it is hard to generate unique variable names. I have an idea on that though. Now for mcs: http://mirrors.ccs.neu.edu/cgi-bin/unixhelp/man-cgi?mcs+1
* style(9) the structure definitions.obrien2001-09-0514-22/+22
|
* Fix the definition generation code from rev 1.15 that generates non-style(9)obrien2001-09-051-4/+4
| | | | compliant structure definitions.
* style(9) the structure definitions.obrien2001-09-0525-58/+52
|
* Style(9)obrien2001-09-051-47/+47
|
* Add cloning support for the tap(4) device similar to that in the tun(4)brooks2001-09-052-136/+221
| | | | | | device. Submitted by: Maksim Yevmenkin <myevmenk@digisle.net>
* Regenerate.wpaul2001-09-041-1/+5
|
* Add support for the BCM5401 and BCM5411 10/100/1000Mbps copper gigE PHYs.wpaul2001-09-043-26/+79
| | | | | This basically updates the brgphy driver to support 10/100 modes in addition to 1000Mbps modes.
* I don't know what I was thinking- if I have two separate busses on onmjacob2001-09-041-174/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SIM (as is true for the 1280 and the 12160), then I have to have separate flags && status for *both* busses. *Whap*. Implement condition variables for coordination with some target mode events. It's nice to use these and not panic in obscure little places in the kernel like 'propagate_priority' just because we went to sleep holding a mutex, or some other absurd thing. Remove some bogus ISP_UNLOCK calls. *Whap*. No longer require that somebody do a lun enable on the wildcard device to enable target mode. They are, in fact, orthogonal. A wildcard open is a statement that somebody upstream is willing to accept commands which are otherwise unrouteable. Now, for QLogic regular SCSI target mode, this won't matter for a damn because we'll never see ATIOs for luns we haven't enabled (are listening for, if you will). But for SCCLUN fibre channel SCSI, we get all kinds of ATIOs. We can either reflect them back here with minimal info (which is isp_target.c:isp_endcmd() is for), or the wildcard device (nominally targbh) can handle them. Do further checking against firmware attributes to see whether we can, in fact, support target mode in Fibre Channel. For now, require SCCLUN f/w to supoprt FC target mode. This is an awful lot of change, but target mode *still* isn't quite right. MFC after: 4 weeks
* Note for ATIOs returned because of BDRs or Bus Resets for which bus thismjacob2001-09-041-20/+34
| | | | | | | | | | applies to. Do more bus # foo things. Acknowledge Immediate Notifies right away prior to throwing events upstream (where they're currently being ignored, *groan*) Capture ASYNC_LIP_F8 as with ASYNC_LIP_OCCURRED. Don't percolate them upstream as if they were BUS RESETS- they're not.
* If we're on an interrupt stack, mark things so that we don't trymjacob2001-09-041-10/+11
| | | | | | | | | | and cv_wait for mailbox commands to complete if we start them from here. Fix residuals for target mode such that we only check the residual and set it in the CTIO if this is the last CTIO (when we're sending status). MFC after: 4 weeks
* I don't know what I was thinking- if I have two separate busses on onmjacob2001-09-041-4/+6
| | | | | | | | | | | | SIM (as is true for the 1280 and the 12160), then I have to have separate flags && status for *both* busses. *Whap*. Implement condition variables for coordination with some target mode events. It's nice to use these and not panic in obscure little places in the kernel like 'propagate_priority' just because we went to sleep holding a mutex, or some other absurd thing. MFC after: 4 weeks
* Don't report power interrupts.imp2001-09-041-2/+0
|
* MFS: put debug writes behind boot verbose.imp2001-09-041-7/+16
|
* Fix SET_IID_VAL/SET_BUS_VAL macros to usable.mjacob2001-09-041-2/+2
| | | | MFC after: 4 weeks
* Fix a memory leak in __getcwd() that can occur after a filesystemiedowse2001-09-041-1/+3
| | | | | | | | | | has been forcibly unmounted. If the filesystem root vnode is reached and it has no associated mountpoint (vp->v_mount == NULL), __getcwd would return without freeing 'buf'. Add the missing free() call. PR: kern/30306 Submitted by: Mike Potanin <potanin@mccme.ru> MFC after: 1 week
* Make the csc and function interrupts ISA on shutdown. This shouldimp2001-09-041-1/+13
| | | | | | | help with the hanging problem on reboot. Note: we need to do the other things as well. Also, turn off the bits in the stat change interrupt mask and the cardbus interrupt mask as well in an attempt to shut off all interrupt sources.
* Add support for Conexant LANfinity miniPCI controllers. People who havewpaul2001-09-044-6/+98
| | | | | | | | | | laptops with this chip should test this and report back as I don't have access to this hardware myself. People with -stable systems should try the patch at: http://www.freebsd.org/~wpaul/conexant.patch.gz Submitted by: Phil Kernick <Phil@Kernick.org>
* Reenable RTC interrupts after wakeup. Some laptops have a problemiwasaki2001-09-048-8/+113
| | | | | | | | | with system statistics monitoring tools (such as systat, vmstat...) because of stopping RTC interrupts generation. Restore all the timers (RTC and i8254) atomically. Reviewed by: bde MFC after: 1 week
* Remove long overdue obsolete file ide_pcireg.hsos2001-09-041-63/+0
|
* There is no option IDE_DELAY and havn't been for a long time..sos2001-09-041-1/+0
|
* Add `-I.' option to CFLAGS so that we can compile asm code togetheriwasaki2001-09-041-0/+1
| | | | with `-nostdinc' option.
* Just print a message in acpi_tz_monitor() only when new active stateiwasaki2001-09-041-2/+5
| | | | | | | | is different from the previous active state. This reduce tons of 'acpi_tz0: _AC0: temperature 64.0 >= setpoint 64.0' messages. Reviewed by: msmith
* Fix sysctl comment field, s/the the/then thealfred2001-09-041-1/+1
| | | | Pointed out by: ru
* Enable bootforth.dfr2001-09-042-2/+2
|
* Avoid an alignment fault on 64bit architectures.dfr2001-09-041-1/+1
| | | | Reviewed by: dcs
* Mostly cosmetic. Move various variables from .s files to .c files so thatpeter2001-09-045-32/+17
| | | | gdb generates debug info for them.
* style(9) the structure namesobrien2001-09-041-6/+6
|
* Make sure we copy over the linker set sections to the EFI executable.dfr2001-09-042-0/+2
|
* Add definition for arch-ia64.dfr2001-09-041-0/+6
|
* Add ia64 system dependancies.dfr2001-09-042-0/+513
|
* Zap #if 0'ed map init code that got moved to the MI area.peter2001-09-048-992/+4
| | | | Convert the powerpc tree to use the common code.
* Nuke #if 0'ed "setredzone()" stub. We never used it, and probablypeter2001-09-046-102/+0
| | | | | never will. I've implemented an optional redzone as part of the KSE upage breakup.
* Kill the NCCD constant by modernizing the ccd driver.phk2001-09-044-420/+472
| | | | | Submitted by: sobomax Reviewed by: phk
* Remove an accidentally forgotten #ifdef. This could cause depletiongrog2001-09-041-2/+0
| | | | of mutexes if a lot of plexes are created and destroyed.
* MFS: change name of sysctl to something more diplomatic.julian2001-09-041-9/+9
|
* Kill init_t type, and minor white space changes to match original -stable ↵imp2001-09-041-4/+1
| | | | version
* Add support for changing the way that ToPIC csc interrupts are routed.imp2001-09-042-4/+42
| | | | | | | | | # Note: The ToPIC 100 and the ToPIC 97 datasheets are in disagreement # as to if this bit is supposed to be set or cleared to enable INTA routing # so I made my best guess. Also, comments about the various chipsets, including some grumpy ones about how vague the O2micro datasheets are.
* Move to using a chip function + function pointers to deal with theimp2001-09-045-159/+634
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function and csc interrupt routing path (eg, ISA or PCI) so that we can more easily switch between the two. When we don't have a card ISR, put the function interrupt into ISA mode. This effectively masks the interrupt since it happens once, and not again until we have an ISR. This should help hangs, and might help people that unwisely update the kernel w/o updating pccardd. This is done at mapirq time. Force CL-PD6729/30 to use ISA interrupt routing and maybe even detect the number of pccard slots properly (this is still WIP). We aren't going to support PCI interrupts for this release. A future release should support them, however. Shibata-san's 3.3V fixes are not included. Add a hack which should, in i386, rewrite IRQ 0 cardbus bridges to be IRQ 255, which should cause interrupts to be routed. This is mostly untested since my one tester disappeared after reporting nothing changed. Implement, but do not use, a power method called cardbus. It looked like a great way to get around the 3.3V problem, but it seems that you can only use it to power cardbus cards (I get no CIS when I enable it, so maybe we're programming things bogusly). GC the intr and argp stuff from the slot database. Improve the ToPIC support with the power hacks that Nakagawa-san published in FreeBSD Press and that Hiroyuki Aizu-san ported to -stable. The ToPIC hacks were for 3.3V support in ToPIC 100, but it looks like the '97 also has identical registers, so use them too. Add some #defines for the cardbus power stuff. Finally implement making CSC on the Ricoh chips ISA or PCI. This will allow polling mode to work on vaios, I think. Add some minor debugging. This should likely be cleaned up or put behing a bootverbose. Some of this work, and earlier work, was influanced by Chiharu Shibata-san's power handing patches posted to bsd-nomads:15866. MFC: Soon, if possible.
* We should not pass the size of the memory to bus_alloc_resource().non2001-09-044-4/+4
| | | | | | We should use 1 to request default iomem. Pointed-out-by: imp
* Values for the Toshiba ToPIC's Function Control Register.imp2001-09-041-0/+6
| | | | | These were lifted from Nakagawa-san's article in FreeBSD Press, as well as posts from hiroyuki Aizo-san and Chiharu Shibata-san.
* Add rwindow.c, forgotten earlier.jake2001-09-041-0/+1
|
* Make this compile.jake2001-09-041-0/+3
|
* Remove some stale definitions and update for new assembler code.jake2001-09-031-56/+28
|
* Add ktr traces to copy{in,out} and cpu_switch.jake2001-09-034-6/+198
| | | | | | Context switch the cwp value. The register usage in cpu_switch will be updated shortly to better reflect the fact that the current window may change.
* Add comments following what other architectures have.jake2001-09-031-1/+36
| | | | | Fiddle the register values in the trapframe so children returning from fork() return 0 (and success).
OpenPOWER on IntegriCloud