summaryrefslogtreecommitdiffstats
path: root/sys/i386
Commit message (Collapse)AuthorAgeFilesLines
* Remove i386-specific psm.c - it's now in sys/isa/psm.cpeter1999-04-181-2267/+0
|
* Add support for 'disabled' probe hint.dfr1999-04-182-4/+12
|
* These two have been replaced with isa/sio* in the generic isa area.peter1999-04-182-3063/+0
|
* Added PC98 code.kato1999-04-182-2/+24
| | | | Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
* Set ifq_maxlen to IFQ_MAXLENpaul1999-04-181-2/+2
|
* Set ifq_maxlen to number of transmit descriptors.paul1999-04-181-1/+2
|
* The changes to vm_page.c have broken the assumption that mallocingpaul1999-04-181-13/+24
| | | | | early will result in memory below 16M so now we need to explicitly use contigmalloc to get low physical memory.
* Wrap the pcm driver for old isa probes.peter1999-04-171-2/+7
| | | | Correct #ifdef typo for sbxvi (Thanks Brian!)
* Allocate space for struct isa_device's, not for pointers thereto.bde1999-04-171-2/+2
| | | | This fixes memory corruption that caused calls to address 0 here.
* We use the generic isa version now.peter1999-04-172-170/+0
|
* We now use the generic isa version..peter1999-04-171-74/+0
|
* vga_isa.c is now generic, not i386 specific (src/sys/isa/vga_isa.c)peter1999-04-171-2241/+0
|
* As a temporary anti-foot-shooting measure, don't let the user attachpeter1999-04-161-1/+5
| | | | the atkbd device to isa, as was in the old (and 3.x) GENERIC config.
* Bring the 'new-bus' to the i386. This extensively changes the way thepeter1999-04-1632-1733/+3540
| | | | | | | | | | | | | | | | | | i386 platform boots, it is no longer ISA-centric, and is fully dynamic. Most old drivers compile and run without modification via 'compatability shims' to enable a smoother transition. eisa, isapnp and pccard* are not yet using the new resource manager. Once fully converted, all drivers will be loadable, including PCI and ISA. (Some other changes appear to have snuck in, including a port of Soren's ATA driver to the Alpha. Soren, back this out if you need to.) This is a checkpoint of work-in-progress, but is quite functional. The bulk of the work was done over the last few years by Doug Rabson and Garrett Wollman. Approved by: core
* Add SYSVSEM so that newer versions of Xaccel don't require a kerneljkh1999-04-161-1/+2
| | | | | | compile just to work. We have the room now, so what the heck. Reqested by: Thomas Roell <roell@xig.com>
* Remove the entries for umodem and ucom. These drivers only proben_hibma1999-04-163-13/+3
| | | | and attach, nothing else. This is confusing to people.
* Removed dead code and cleaned up. setconf() now just asks for thebde1999-04-151-108/+38
| | | | | root device name. The parser for the name is still too simple (it forces slice = none, partition = 'a').
* Made booting with -a work for all configurations. Previously itbde1999-04-154-32/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | only worked for configurations with "swap on generic". usr.sbin/config/config.y: - ignore all "swap [on] device ...' specifications except for warning about them. They haven't done anything related to swap for almost 4 years, and were previously silently ignored, except for "swap on generic" which stopped swap${KERNEL}.c from being generated. Code to support swapping is now deader than before. usr.sbin/config/mkswapconf.c: - don't generate a dummy setconf() function in swap${KERNEL}.c. sys/i386/conf/files.i386: - swapgeneric.c is now standard. It should be merged into autoconf.c so that it doesn't conflict with swap${KERNEL}.c for kernels named "generic". sys/i386/i386/autoconf.c: - don't call setroot() for mfs roots. Since setroot() doesn't do anything harmful, this was just a waste of time, except possibly for booting with -a it may have helped prevent an undesireable call to setconf() by finding a bogus rootdev. - honor -a for ffs roots. -a now overrides all other ways of specifying the root device. Previously, -r had precedence over -a, and the -a handling was usually a no-op. - don't honor -a for non-ffs roots, since it would currently just get in the way of a clean panic. sys/i386/i386/swapgeneric.c: - don't declare things that are now always declared in swap${KERNEL}.c. Don't decide things that are now decided in autoconf.c. Code to support the "generic" case is now dead instead of useless.
* Add example for 'makeoptions DEBUG' and some notes. I have not activatedpeter1999-04-142-2/+24
| | | | | it here since a -g LINT kernel is 100% useless as it won't run and hence doesn't need debug capabilities (and would just waste disk space :-).
* Search bdevsw[] instead of the half-baked builtin table of devicesbde1999-04-141-14/+26
| | | | | | | | | | in the RB_ASKNAME case. I had thought that I made this change in rev.1.18, but rev.1.18 only affects obscure subcases of the RB_DFLTROOT case (subcases where the compiled in default root is not found in bdevsw[] -- then the root device is set to the first device in the half-baked table that is also in bdevsw[]). Removed yet more vestiges of config-time swap configuration.
* Generate intrnames[] dynamically. This should be new-bus friendly.bde1999-04-147-285/+183
| | | | Old version reviewed by: se
* Add a commented-out example on using the makeoptions command to get apeter1999-04-131-1/+3
| | | | kernel.debug.
* Build the functionality of the wdc_p hack into the ide_pci.c code.peter1999-04-133-28/+6
| | | | | | | | | | | | All it did was match a specific device ID and turn on a quirk for the wdc driver. Incidently, at line 1462 there is a return that prevents the generic ide_pci code from trying to look at the device. I'd be interested to know if we can take out the return and let the generic code "see" it. I've left the return in because that's the way it worked before. (Be sure to rerun config after cvsup or you'll get undefined files!)
* Shoot the LKM support in the old wd/wdc/atapi driver set in the head andpeter1999-04-1312-700/+39
| | | | | | | | | | | | | | | | | perform a cleanup/unifdef sweep over it to tidy things up. The atapi code is permanently attached to the wd driver and is always probed. I will add an extra option bit in the flags to disable an atapi probe on either the master or slave if needed, if people want this. Remember, this driver is destined to die some time. It's possible that it will loose all atapi support down the track and only be used for dumb non-ATA disks and all ata/atapi devices will be handled by the new ata system. ATAPI, ATAPI_STATIC and CMD640 are no longer options, all are implicit. Previously discussed with: sos
* Clean up the kernel/kernel.debug/install.debug etc stuff.peter1999-04-131-39/+21
| | | | | | Sense ${DEBUG} to decide on building kernel.debug or not. Use a common install and install.debug target to minimize duplication. (I deleted the ELF transition kernel warning, it was getting dated..)
* Backout early start of APs since it caused some machines to hang.tegge1999-04-133-12/+3
|
* ppp != iijppp any morebrian1999-04-122-6/+6
| | | | Mention nos-tun as a tun device user.
* Make debugging more selective.n_hibma1999-04-113-9/+21
| | | | Remove debugging options from GENERIC
* Move initialization of SWI's in the tty|net|bio masks from isa.c intopeter1999-04-112-12/+6
| | | | the static initializers in ipl.s.
* Back out default debug kernel. The flags revert to historical behaviour.grog1999-04-111-5/+2
| | | | | | | | | | | | | | | Requested-by: ache bde dg Modify targets for debug kernels: when -g was specified, make will now build a debug kernel called kernel.debug, and create a stripped version called kernel at the same time. The two targets install and install.debug are otherwise unchanged. Requested-by: dillon Update man page accordingly.
* Correct prototype for wdstarteivind1999-04-111-1/+1
|
* Staticize.eivind1999-04-119-18/+18
|
* Random text after #endif changed to comment.eivind1999-04-111-1/+1
|
* Add prototype for wait_ap().tegge1999-04-113-3/+12
|
* Let BSP wait until all APs are initialized.tegge1999-04-104-4/+31
|
* When trying to enable or disable an interrupt not described by the mp table,tegge1999-04-101-3/+7
| | | | just return instead of dereferencing a null pointer.
* Test CF after a btrl operation instead of testing ZF (which is undefined).tegge1999-04-102-4/+4
|
* uncomment the uhci entryn_hibma1999-04-102-4/+4
|
* pmap_remove_pte:alc1999-04-101-14/+7
| | | | | | | Use "loadandclear" to update the pte. pmap_changebit and pmap_ts_referenced: Switch to pmap_TLB_invalidate from invltlb.
* Add a warning bout the SoundBlaster and ISA DMA locking up the machine,nik1999-04-092-2/+12
| | | | | | | | and a possible workaround. PR: docs/5358 Submitted by: Matthew Dillon Reviewed by: nik
* o sys/i386/include/soundcard.hkato1999-04-082-4/+3
| | | | | | | | | Reduce synth_info.name lenght for binary compatibility. o sys/i386/isa/sound/mpu401.c Reduce mpu device number info to avoid overflow of mpu_synth_info.name. Submitted by: Akio Morita <amorita@meadow.scphys.kyoto-u.ac.jp>
* Disable the mtrr copy calls, it doesn't work with the i686_mem.c stuff.peter1999-04-073-3/+21
| | | | This should make it compile/link again.
* 1. Modify config to issue different code for debugging.grog1999-04-071-13/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2. Config complains if you use -g: Debugging is enabled by default, there is no ned to specify the -g option 3. Config warns you if you don't use -s: Building kernel with full debugging symbols. Do "config -s BSD" for historic partial symbolic support. To install the debugging kernel, do make install.debug (BSD was the name of the config file I used; I print out the same name). 4. Modify Makefile.i386, Makefile.alpha, Makefile.pc98 and config to work if a kernel name other than 'kernel' is specified. This is not absolutely necessary, but useful, and it was relatively easy. I now have a kernel called /crapshit :-) 5. Modify Makefile.i386, Makefile.alpha, Makefile.pc98 "clean" target to remove both the debug and normal kernel. 6. Modify all to install the stripped kernel by default and the debug kernel if you enter "make install.debug". 7. Update version number of Makefiles and config.
* Add defines for the P6 model-specific registers.msmith1999-04-071-1/+58
|
* mem.cmsmith1999-04-073-104/+674
| | | | | | | | | | | | | Split out ioctl handler a little more cleanly, add memory range attribute handling for both kernel and user-space consumers. pmap.c Remove obsolete P6 MTRR-related code. i686_mem.c Map generic memory-range attribute interface to the P6 MTRR model.
* Add i686_mem.c - memory range attribute support for P6 processors.msmith1999-04-071-1/+2
|
* failled spell-checkphk1999-04-061-2/+2
|
* Add driver support for gigabit ethernet adapters based on the Alteonwpaul1999-04-063-4/+19
| | | | | | | | | | | | | | | | | | | | | | | Networks Tigon 1 and Tigon 2 chipsets. There are a _lot_ of OEM'ed gigabit ethernet adapters out there which use the Alteon chipset so this driver covers a fair amount of hardware. I know that it works with the Alteon AceNIC, 3Com 3c985 and Netgear GA620, however it should also work with the DEC/Compaq EtherWORKS 1000, Silicon Graphics Gigabit ethernet board, NEC Gigabit Ethernet board and maybe even the IBM and and Sun boards. The Netgear board is the cheapest (~$350US) but still yields fairly good performance. Support is provided for jumbo frames with all adapters (just set the MTU to something larger than 1500 bytes), as well as hardware multicast filtering and vlan tagging (in conjunction with the vlan support in -current, which I should merge into -stable soon). There are some hooks for checksum offload support, but they're turned off for now since FreeBSD doesn't have an officially sanctioned way to support checksum offloading (yet). I have not added the 'device ti0' entry to GENERIC since the driver with all the firmware compiled in is quite large, and it doesn't really fit into the category of generic hardware.
* Two changes to pmap_remove_all:alc1999-04-061-20/+5
| | | | | | | | | | | 1. Switch to pmap_TLB_invalidate from invltlb, eliminating a full TLB flush where a single-page flush suffices. (Also, this eliminates some unnecessary IPIs.) 2. Use "loadandclear" to update the pte, eliminating a race condition on SMPs. Change #2 should be committed to -STABLE.
* Use reference counted PHOLD/PRELE rather than the P_PHYSIO flag.peter1999-04-061-3/+3
|
OpenPOWER on IntegriCloud