summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* During a verbose boot, call the null device 'null' rather than 'null0' tojhb2000-10-061-1/+1
| | | | be more consistent with the rest of the kernel.
* Driver for the Intel 82801AA (ICH) SMBus controller and compatibles.archie2000-10-068-14/+1095
| | | | Obtained from: Whistle source tree
* return correct type for process directory entries, DT_DIR not DT_REGalfred2000-10-052-2/+2
|
* Regen.n_hibma2000-10-052-2/+25
|
* - Heavyweight interrupt threads on the alpha for device I/O interrupts.jhb2000-10-0565-1043/+861
| | | | | | | | | | | - Make softinterrupts (SWI's) almost completely MI, and divorce them completely from the x86 hardware interrupt code. - The ihandlers array is now gone. Instead, there is a MI shandlers array that just contains SWI handlers. - Most of the former machine/ipl.h files have moved to a new sys/ipl.h. - Stub out all the spl*() functions on all architectures. Submitted by: dfr
* Additional Idsn_hibma2000-10-051-0/+5
|
* Replace loadandclear() with atomic_readandclear_int().jhb2000-10-054-26/+4
|
* Add atomic_readandclear_int and atomic_readandclear_long.jhb2000-10-053-4/+110
|
* Make the gd_currentldt member in struct globaldata unconditional sojhb2000-10-053-9/+3
| | | | | that this header doesn't depend on USER_LDT. This fixes the USER_LDT breakage with SMP kernels.
* - Remove somewhat bogus handling of the Giant mutex in the vm86 code.jhb2000-10-052-6/+13
| | | | | - Add a vm86pcb_lock mutex that is used to lock the vm86pcb used when making a vm86 call.
* Add the card ID for the Am79c975 PCnet/FAST III card. This is a variantwpaul2000-10-052-0/+2
| | | | | | of the Am79c973 with "AlertIT Technology," whatever that is. Also mention support for the PCnet/FAST III cards in the documentation. The PCnet/FAST III chips have integrated 10/100 PHYs.
* Style fixes based on comments by bdeeivind2000-10-052-40/+62
|
* - Add another PCI Id for a Lucent Win Modem.jhb2000-10-051-1/+2
| | | | | - Change the chip description to use mixed-case so it is consistent and doesn't yell at the user during boot.
* Add support for parsing the media blocks from the SROM on 21143wpaul2000-10-056-132/+712
| | | | | | | | | | adapters. This is necessary in order to make this driver work with the built-in ethernet on the alpha Miata machines. These systems have a 21143-PC chip on-board and optional daughtercards with either a 10/100 MII transceiver or a 10baseT/10base2 transceiver. In both cases, you need to twiddle the GPIO bits on the controller in order to turn the transceivers on, and you have to read the media info from the SROM in order to find out what bits to twiddle.
* Grab the ccb *after* writing filemarks.mjacob2000-10-051-1/+1
| | | | | PR: 21723 Submitted by: razuwaev@relex.ru
* Don't do destroy_dev on devices which were just aliases.mjacob2000-10-051-6/+0
|
* Forward-declare struct mbuf so that this file is less self-insufficientbde2000-10-052-0/+2
| | | | | | | -- don't depend on garbage in <sys/mount.h>. mbufs aren't actually used here either. They should have been completely removed from filesystem interfaces when they were removed from the interfaces to convert between file handles and vnodes.
* Cleanup the chipset specific interrupt code a bit.sos2000-10-051-6/+2
|
* Correct pedantic errors in arrays generated by the assembler (trailinggibbs2000-10-051-5/+12
| | | | | | | comma in array declarations). Output a constant indicating the number of critical section entries in the firmware.
* Convert the driver to use a single DMA for fetching new commands insteadgibbs2000-10-0510-213/+474
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | of two (one to access the circular input fifo, the other to get the SCB). This costs us a command slot so the driver can now only queue 254 simultaneous commands. Have the kernel driver honor critical sections in sequencer code. When prefetching S/G segments only pull a cacheline's worth but never less than two elements. This reduces the impact of the prefetch on the main data transfer when compared to the 128 byte fetches the driver used to do. Add "bootverbose" logging for transfer negotiations. Correct a bug in ahc_set_syncrate() that would prevent an update of the sync parameters if only the ppr_options had changed. Correct locking for calls to ahc_free_scb(). ahc_free_scb() is no longer protected internally to simplify ports to other platforms. Make sure we unfreeze our SIMQ if a resource shortage has occurred and an SCB is been freed. ahc_pci.c: Turn on cacheline streaming for all controllers that support it. Clarify diagnostic messages about PCI interrupts.
* Correct the dependency for aicasm.gibbs2000-10-051-1/+1
|
* make sure we have root priv on SIOCSIFPHY*. from thorpej@netbsditojun2000-10-041-0/+5
|
* Next round of fixes to the ia64 code. This includes simulated clock anddfr2000-10-0443-427/+2303
| | | | | | | disk drivers along with a load of fixes to context switching, fork handling and a load of other stuff I can't remember now. This takes us as far as start_init() before it dies. I guess now I will have to finish off the VM system and syscall handling :-).
* Add a workaround for statically linked kernels.dfr2000-10-041-0/+6
|
* Fix the MASTERDEV breakage the caused the PIIX controllers to getsos2000-10-041-1/+2
| | | | | | missed in the probe. This might break the CMD chips again, more testing is needed on that, but we need the mainstream chips to work again ...
* Only install secondary components if the destination directory exists.obrien2000-10-044-0/+16
| | | | This may be a WIP, but `make release' needs it sooner than later.
* o Add call to ufs_extattr_uepm_destroy() in ffs_unmount() so as to cleanrwatson2000-10-041-0/+15
| | | | | | | up lock on extattrs. o Get for free a comment indicating where auto-starting of extended attributes will eventually occur, as it was in my commit tree also. No implementation change here, only a comment.
* o Correct use of lockdestroy() by adding a new ufs_extattr_uepm_destroy()rwatson2000-10-042-2/+25
| | | | | | | | call, which should be the last thing down to a per-mount extattr management structure, after ufs_extattr_stop() on the file system. This currently has the effect only of destroying the per-mount lock on extended attributes, and clearing appropriate flags. o Remove inappropriate invocation in ufs_extattr_vnode_inactive().
* Convert lockmgr locks from using simple locks to using mutexes.jasone2000-10-0473-300/+553
| | | | | | Add lockdestroy() and appropriate invocations, which corresponds to lockinit() and must be called to clean up after a lockmgr lock is no longer needed.
* Reduce userland namespace polution.jasone2000-10-044-4/+16
|
* Fix spelling error ("exits" should be "exists").jasone2000-10-042-2/+2
|
* Remove another unused field from struct __aiocb_private.alc2000-10-031-1/+0
|
* Blah rev 1.208 got bits of the proposed "I want the file /kernel to beobrien2000-10-032-14/+12
| | | | | | | the kernel" patch. This commit is only the "Do not prepend `DESTDIR' to `KMODDIR' as sys/conf/kmod.mk already does that for us" change.
* Do not prepend `DESTDIR' to `KMODDIR' as sys/conf/kmod.mk already doesobrien2000-10-035-17/+19
| | | | that for us.
* Add the pcn device to NEWCARD and NOTES.wpaul2000-10-033-0/+11
|
* Add support for the AMD Am79c976 PCnet/PRO controller chip. For nowwpaul2000-10-032-14/+10
| | | | | | | | | this just involves adding the chip ID to the supported list: the PCnet/PRO is compatible with the PCnet/FAST+ and friends and should "just work" with this driver. Also try to handle mbuf allocation failures in the receive handler more gracefully.
* add ATA_ENABLE_TAGS optionsos2000-10-031-0/+1
|
* Add ATA_ENABLE_TAGS options descriptionsos2000-10-032-0/+4
|
* make pr_type type meet with struct protosw. sync with kameitojun2000-10-031-2/+2
|
* Merged from sys/i386/i386/machdep.c revision 1.414.kato2000-10-032-2/+2
|
* Add support for ServerWorks ROSB4 ATA33 chipset.sos2000-10-033-50/+159
| | | | | | | | | | Add support for CMD 648 ATA66 & CMD 649 ATA100 chipsets. Fix the "resource already allocated" panic with the CMD and other braindead controllers. Add options ATA_ENABLE_TAGS, without this option tagged queuing will not be attempted.
* Added the missing ntohs() conversion when matching IP packet withru2000-10-031-1/+1
| | | | | | | | | | the IP_FW_IF_IPID rule. (We have recently decided to keep the ip_id field in network byte order inside the kernel, see revision 1.140 of src/sys/netinet/ip_input.c). I did not like to have the conversion happen in userland, and I think that the similar conversions for fw_tcp(seq|ack|win) should be moved out of userland (src/sbin/ipfw/ipfw.c) into the kernel.
* Don't use bus_get_resource() and bus_get_resource_start() functions ifnyan2000-10-031-12/+3
| | | | | | bus_alloc_resource() failed. So, error messages are changed more simply. Suggested by: "Matthew N. Dodd" <winter@jurai.net>
* Fix up some more comments that were reversed.msmith2000-10-031-2/+2
| | | | Submitted by: Niklas Hallqvist <niklas@appli.se>
* Move the ata/atapi files to the common area. They were the same on allpeter2000-10-035-36/+9
| | | | | | | | | | platforms. While here, work around a strange quirk in config(8) that I do not yet understand. Rearrange which atapi* files have 'optional' vs. 'count' so that you can have atapifd without atapicd. The only difference should be that this works instead of having a link error because atapi-all.o got left out of the kernel.
* Fix reversed comments re: OISR/OIMRmsmith2000-10-031-2/+2
| | | | Submitted by: Niklas Hallqvist <niklas@appli.se>
* Clear pcb_schednest in cpu_fork() for the child process. This isdfr2000-10-033-0/+21
| | | | | is necessary since the child's call stack only includes one recursive hold of sched_lock.
* Make cd9660 filesystem PDIRUNLOCK aware. Now it can be used in vnode stacksbp2000-10-038-18/+36
| | | | | | and nullfs mounts. Remove now unnecessary i_lock field from the iso_node structure.
* Prevent dereference of NULL pointer when null_lock() and null_unlock()bp2000-10-032-2/+14
| | | | called and there is no underlying vnode.
* Fix a problem with MCHTYPE macro's use of atomic().bmilekic2000-10-031-2/+2
| | | | | | | Basically, the reason most people haven't seen this is most likely related to the low usage of MCHTYPE. Pointed out and suggested a fix by: Boris Popov (bp) - thanks!
OpenPOWER on IntegriCloud