aboutsummaryrefslogtreecommitdiff
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Update for pcic for kld modules and activatePeter Wemm1999-01-192-6/+4
| | | | Notes: svn path=/head/; revision=42822
* Update the pccard hooks to use a module style declaration instead.Peter Wemm1999-01-1919-217/+57
| | | | Notes: svn path=/head/; revision=42820
* Initial update pccard code for KLD module support. Module supportPeter Wemm1999-01-195-156/+84
| | | | | | | | | however is only marginally useful until the new-style bus (pci and isa) stuff comes onboard to give us a better shot at actually pci and isa drivers loadable (or preloadable anyway). Notes: svn path=/head/; revision=42819
* Call the xpt_init() hook during at the start of the configure() processPeter Wemm1999-01-191-5/+7
| | | | | | | | via SYSINIT(). This gets a little closer to making cam useable as a module. Notes: svn path=/head/; revision=42818
* Break configure() into a couple of stages to allow insertion ofPeter Wemm1999-01-192-44/+50
| | | | | | | hooks (eg: by drivers or (pre)loadable modules into a convenient spot. Notes: svn path=/head/; revision=42817
* Fix typo. Unit is spelled with a 'u'. 'init' just types too easily.Julian Elischer1999-01-183-6/+6
| | | | Notes: svn path=/head/; revision=42814
* Fix screwed up previous commit.Julian Elischer1999-01-183-12/+27
| | | | | | | | Obviously no-one is using this card on ISA as the interrupts were NOT being handled. Notes: svn path=/head/; revision=42813
* Reserve a major number for use by the Iprobe device driver.Andrew Gallatin1999-01-181-1/+2
| | | | | | | | | | | | | | | | Iprobe is an alpha-only system profiling suite which I'm porting from Linux/alpha to FreeBSD. Iprobe works by using the hardware profiling support built into alpha cpus. In a nutshell, what Iprobe does is to setup the alpha performance counters to sample the pc at a fairly high rate & dumps those pc samples out to user space. Then some code runs to map the sampled PCs to functions. You get a bit more than that (like the PSL word, so you can tell if you're in the kernel or userland, what the ipl is, etc). Notes: svn path=/head/; revision=42812
* Added support for the DEC EB64PLUS systype. (Part III)Andrew Gallatin1999-01-186-8/+16
| | | | | | | | | | | | o Add the EB64PLUS systype into the kernel configuration files and add it to the GENERIC kernel o Correct mcclock_isa.c's dependence on cia, it should depend on isa. This will allow avanti and eb64+ kernels to be built without the cia chipset support code. Notes: svn path=/head/; revision=42811
* Added support for the DEC EB64PLUS systype. (part II)Andrew Gallatin1999-01-181-0/+187
| | | | | | | | | The DEC EB64PLUS support code. Based on NetBSD's dec_eb64plus.c,v 1.15 Submitted by: Wilko Bulte <wilko@yedi.iaf.nl> Notes: svn path=/head/; revision=42810
* Added support for the DEC EB64PLUS systype. (part I)Andrew Gallatin1999-01-182-5/+114
| | | | | | | | | | | | | | | | The new file pci_eb64plus_intr.s deals with the interrupt hardware on the EB64PLUS and was obtained from NetBSD with the NetBSD copyright intact The apecs chipset support code was altered to allow routing interrupts through pci if we're not running on an avanti. Avanti's route all interrupts through isa. Tested by: Wilko Bulte <wilko@yedi.iaf.nl> Partially reviewed by: dfr Notes: svn path=/head/; revision=42809
* Transition from using Perl to using awk for our text-manipulationMike Smith1999-01-187-274/+203
| | | | | | | | | | needs. This removes the dependancy on Perl for the generation of the loader, allowing the world to be built on a perl-free system. Submitted by: Joe Abley <jabley@clear.co.nz> Notes: svn path=/head/; revision=42807
* Added copyright.KATO Takenori1999-01-184-14/+120
| | | | | | | Pointed out by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> Notes: svn path=/head/; revision=42805
* Merge with sys/dev/syscons/syscons.c revision 1.292.KATO Takenori1999-01-181-18/+28
| | | | | | | Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> Notes: svn path=/head/; revision=42804
* Don't forget to initialize va_mode.KATO Takenori1999-01-182-4/+6
| | | | | | | | Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> Forgotten by: kato Notes: svn path=/head/; revision=42803
* Sync with sys/i386/i386/userconfig.c revision 1.126.KATO Takenori1999-01-181-3/+3
| | | | Notes: svn path=/head/; revision=42798
* Sync with sys/i386/conf/Makefile.i386 revision 1.135.KATO Takenori1999-01-182-30/+18
| | | | Notes: svn path=/head/; revision=42797
* Switched to new syscons driver.KATO Takenori1999-01-1813-1531/+4602
| | | | | | | | Submitted by: NOKUBI Hirotaka <hnokubi@yyy.or.jp> and Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> Notes: svn path=/head/; revision=42795
* From inspection, ISA interrupts were completely broken..Julian Elischer1999-01-183-3/+60
| | | | | | | | revert some of the old ISA code. (I can't test this but I'm working on the file.) Notes: svn path=/head/; revision=42794
* Get rid of MT_RTABLE; multicast routing no longer uses it.Bill Fenner1999-01-181-2/+2
| | | | Notes: svn path=/head/; revision=42779
* Use dynamic memory allocation instead of mbuf's for multicast routingBill Fenner1999-01-182-103/+86
| | | | | | | | | | | | | state. Note: this requires a recompilation of netstat (but netstat has been broken since rev 1.52 of ip_mroute.c anyway) Obtained from: Significantly based on Steve McCanne's <mccanne@cs.berkeley.edu> work for BSD/OS Notes: svn path=/head/; revision=42777
* Rename igmp's MALLOC; it doesn't have anything to do with multicast routing.Bill Fenner1999-01-181-3/+3
| | | | Notes: svn path=/head/; revision=42776
* If arpresolve() gets passed a route with a null llinfo, callBill Fenner1999-01-181-2/+2
| | | | | | | | | | arplookup() to try again. This gets rid of at least one user's "arpresolve: can't allocate llinfo" errors, and arplookup() gives better error messages to help track down the problem if there really is a problem with the routing table. Notes: svn path=/head/; revision=42775
* Bring a bit closer to the normal form. (In particular, addDmitrij Tejblum1999-01-171-17/+20
| | | | | | | __BEGIN_DECLS/__END_DECLS). Notes: svn path=/head/; revision=42773
* Replaced by /usr/bin/gensetdefs a few months ago.Peter Wemm1999-01-173-403/+0
| | | | Notes: svn path=/head/; revision=42772
* Use the gensetdefs that is now in /usr/bin, it's a superset of thePeter Wemm1999-01-173-45/+27
| | | | | | | | | | | | | one in the kernel source, and that one is already used for modules. I don't _think_ this will hurt releases, aout-to-elf, etc, but it is possible. In all the cases I've looked at, config(8) has been generated straight after a make world, so if /usr/sbin/config exists and is the right version for the kernel, then we can pretty much count on /usr/bin/gensetdefs being there too. Notes: svn path=/head/; revision=42771
* Missed a stray LKM #ifdefPeter Wemm1999-01-172-10/+16
| | | | Notes: svn path=/head/; revision=42770
* Undo #undef KERNEL hack for vnode.h to avoid vnode_if.h.Peter Wemm1999-01-174-19/+8
| | | | | | | | | | | | XXX It probably makes sense to have a flag for bsd.kern.mk to avoid these rules. XXX IO_NDELAY seems to be the main reason for it, when used in a cdevsw read or write "flag" context. Perhaps a redundant declaration somewhere like sys/conf.h might help remove the need for vnode.h in these device drivers in the first place. Notes: svn path=/head/; revision=42769
* Mountroot could concievably make sense to a KLD though, in the preloadPeter Wemm1999-01-172-12/+2
| | | | | | | case. I'm not sure the autoconf code is up to it though... Notes: svn path=/head/; revision=42768
* Remove references to an LKM that isn't built any more.Peter Wemm1999-01-172-6/+4
| | | | Notes: svn path=/head/; revision=42767
* Minor cleanup; no more references to LKM's.Peter Wemm1999-01-173-11/+5
| | | | Notes: svn path=/head/; revision=42766
* Remove the LKM glue since the support (src/lkm) has been gone a while.Peter Wemm1999-01-171-34/+1
| | | | | | | | This was impossible to use as an LKM anyway, but does work as a preloaded kld module though. Notes: svn path=/head/; revision=42765
* Remove LKM support, src/lkm that built it is gone and it never worked as anPeter Wemm1999-01-171-35/+1
| | | | | | | LKM anyway. It does work as a preloaded KLD module though. Notes: svn path=/head/; revision=42764
* Clean up the KLD/LKM goop a bit.Peter Wemm1999-01-177-188/+56
| | | | Notes: svn path=/head/; revision=42763
* "fix" long standing aicasm build glitch. The problem was thePeter Wemm1999-01-172-4/+4
| | | | | | | | | | | reorganization in rev 1.16 of i386/include/types.h which changed stdlib.h's use of <machine/types.h>. The problem was the -I. was causing machine/types.h to come from the current kernel source, while stdlib.h was coming from /usr/include. /usr/include/stdlib.h is as old as the last 'make world', the machine/types.h was as new as the current source. Notes: svn path=/head/; revision=42762
* Add LKM option so that the remaining code (hopefully) doesn't go stale.Peter Wemm1999-01-173-3/+21
| | | | Notes: svn path=/head/; revision=42761
* Add the lkm modulePeter Wemm1999-01-171-2/+2
| | | | Notes: svn path=/head/; revision=42760
* World, please meet the kld module called "lkm". If you have an a.outPeter Wemm1999-01-171-0/+12
| | | | | | | | kernel and you forgot to add 'options LKM', you can kldload this module and get LKM compatability. (!) Notes: svn path=/head/; revision=42759
* LKM kernel support becomes optional on "options LKM". (Bear in mindPeter Wemm1999-01-172-2/+5
| | | | | | | that the default kernel is now ELF and cannot load these LKM's). Notes: svn path=/head/; revision=42758
* - Move lkmnosys() to kern_syscall.cPeter Wemm1999-01-171-145/+43
| | | | | | | | | | | - Have the VFS lkm support use vfs_register() etc rather than having it's own version. - Have the syscall lkm support use syscall_register() etc rather than having it's own verison. - Convert the lkm driver to a module. Notes: svn path=/head/; revision=42757
* Move lkmnosys() from kern_lkm.c to here.Peter Wemm1999-01-171-1/+13
| | | | Notes: svn path=/head/; revision=42756
* Try and clean up the multiple formal loading support a bit, based onPeter Wemm1999-01-171-10/+21
| | | | | | | | | | | | | | | suggestions from Greg Lehey some time ago. In the face of multiple potential file formats, try and give a more sensible error than just ENOEXEC. XXX a good case can be made that the loading process is wrong - the linker should locate the file first (using the search paths etc), then run the loaders to see if they recognize it. While the present system allows for the possibility of different search paths for different formats, we do not use it and it just makes things more complicated than they need to be. Notes: svn path=/head/; revision=42755
* Fix cut & paste mind-o: the entry for the xl driver should say ethernet,Bill Paul1999-01-171-3/+3
| | | | | | | not FDDI. *smak* Notes: svn path=/head/; revision=42754
* Make old syscons work. (New syscons driver for PC98 is still underKATO Takenori1999-01-172-4/+3
| | | | | | | | | development.) Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp> Notes: svn path=/head/; revision=42752
* Retrun EAGAIN if the current video mode is a graphics mode.Kazutaka YOKOTA1999-01-176-12/+12
| | | | Notes: svn path=/head/; revision=42749
* - Examine the error code from the screen saver and act accordingly.Kazutaka YOKOTA1999-01-171-18/+28
| | | | | | | | | | | | | 0 success EAGAIN try again later other don't call this screen saver again - Test flags consistently to examine the status of the screen saver. scrn_blanked: the screen saver is running scp->status & SAVER_RUNNING: the saver is running in this vty - Correctlyu preserve status flag bits in set/restore_scrn_saver_mdoe(). Notes: svn path=/head/; revision=42748
* Don't forget copying video mode flags to the adapter info. block whenKazutaka YOKOTA1999-01-171-1/+2
| | | | | | | changing video modes. Notes: svn path=/head/; revision=42747
* Sync with sys/i386/isa/wd.c revision 1.186.KATO Takenori1999-01-171-3/+5
| | | | Notes: svn path=/head/; revision=42746
* Removed the #defines of interrupt handlers to NULL. This hack was forBruce Evans1999-01-171-60/+1
| | | | | | | old (> 3 months) versions of config(8). Notes: svn path=/head/; revision=42744
* Pass the unit number to the DMA cookie lookup routine and use itBruce Evans1999-01-173-10/+13
| | | | | | | | | | | | | | | to look up cookies properly, at least for standard controllers. Cookies are used so that we don't have to pass around lots of args. All of the dmainit functions use the unit number so it is essential that we pass them a cookie with the correct unit number. This may break working configurations if there are bugs in the dmainit functions like the ones I just fixed for VIA chipsets. Broken in: rev 1.4 of ide_pci.c and rev.1.139 of wd.c. Notes: svn path=/head/; revision=42743