summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2004-01-05Don't issue PREVENT_ALLOW commands to disk devices during sdopen() orKenneth R Westerback
sdclose() unless they identified themselves as removable. ok deraadt@.
2004-01-05Reduce ahc verbosity. Put chip details inside an if (bootverbose) {}Kenneth R Westerback
block. Put irq on first ahc line after 'rev 0xYY', rather than a separate line. ok deraadt@.
2004-01-05unobfuscate systm.h: use va_list for vprintf.Marc Espie
_BSD_VA_LIST_ explained by millert@, okay drahn@
2004-01-05Major overhaul of our master boot record.Tom Cosgrove
We now use EDD calls if the disk supports it, so we can boot partitions that start above the 8 GB CHS limit. Of itself, this change does not remove the current 8 GB limit for OpenBSD/i386. Much testing nick@; thanks. ok weingart@, deraadt@.
2004-01-04In pmap_activate(), be sure to always flush the user tlb, even if we areMiod Vallat
scheduling a kernel thread, as we depend upon this behaviour now.
2004-01-04Previous monotomic clock fix had major issues, this improves the matter.Dale Rahn
ok otto@
2004-01-04oops... string.h ended up being included twice; pointed out by espiePeter Valchev
2004-01-04better macro name (IF_LOCKED -> BOUND_IFACE). from markus.Cedric Berger
2004-01-04include proper protos for userland; deraadtPeter Valchev
2004-01-04Rewrite scsi_decode_sense() to clean up code; eliminate many magicKenneth R Westerback
numbers; fix passing a NULL to %s under some circumstances; fix the bit index mask; etc. No change in output. ok deraadt@.
2004-01-04Thou shall not flush TLBs incorrectly.Miod Vallat
2004-01-04Working kluge to ``enable'' the on-board SCSI controller on 187 and 197, ifMiod Vallat
it is not the boot device and has not been expliictely ``enabled'' in the BUG. Will definitely help netboot installations...
2004-01-04put INET6, rtsol, and ping6 onto media where it fits. install.sub changesTheo de Raadt
which begin to enable use of this will follow at a later time.
2004-01-03shut gcc up; ok miodPeter Valchev
2004-01-03disable TSC for Geode SC1100; Stuart Henderson, pr 3625; ok mickey, deraadtMarkus Friedl
2004-01-03switch to shorter licence at millert@ suggestion.Marc Espie
2004-01-03make sure userland sees memcmp and friends (gcc3)Marc Espie
okay frantzen@
2004-01-03put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macrosMarc Espie
to built-ins, so eventually we will have one version of these files. Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes. okay millert@, drahn@, miod@.
2004-01-03Make 'unknown error category' message more informative by including errorKenneth R Westerback
number. Same change as was made to scsi_base.c a few days ago. ok deraadt@.
2004-01-03backout segment register restore diff which causes reproducible hangs; ok ↵Peter Valchev
deraadt
2004-01-02Mention that, on most 187 and 197, if the SCSI controller is not the bootMiod Vallat
device and no boot from it has been attempted at the prom, it will not get detected. Unfortunately, right now I don't know how to ``warm'' the chip. This also will need to be documented in the insallation notes at some point...
2004-01-02MC88110 errata states that, for instruction faults, in case of bus errorMiod Vallat
trap class, the value of the page fault and segment fault bits are undefined; so check for bus error first.
2004-01-02Sync m197_ext_int() logic with m187_ext_int() logic.Miod Vallat
2004-01-02Better openings value computation.Miod Vallat
For now, the result is the same as the hard-coded constant it used to be, due to a pessimistic NUM_IOPB value. This will change.
2004-01-02Relaxed dependencies, and do not undef DEBUG.Miod Vallat
2004-01-02There is no such thing as ``device cpu'' for now.Miod Vallat
2004-01-02Revert 1.100 and 1.102 for now - they cause page table corruption (bloody hell!)Miod Vallat
2004-01-02The scratch pages used in pmap_zero_page() and pmap_copy_page() being specialMiod Vallat
mappings, they still need the dcache to be invalidated after use.
2004-01-02When both cmmu_dofoo() and cmmu_remote_dofoo() exist, kill the first one,Miod Vallat
and rename the second one to the first one, i.e. have the cmmu_dofoo() functions always take a cpu# parameter. No functional change, simply makes code more readable and saves a few call frames.
2004-01-02use pool for pcb; with grange@ like netbsd; ok itojun@, cedric@Markus Friedl
2004-01-02apparently my understanding of '{FLT,DBL,LDBL}_{MIN,MAX}_EXP' ahsMichael Shalayeff
been wrong and thus proven by many and there change it back to what it is meaning explained in http://www-ccs.ucsd.edu/c/float.html . also fix spmath to use it's own consts instead of (now) off by one float.h values thus to avoid any kind of binary changes.
2004-01-02attach on two more ICHsMichael Shalayeff
2004-01-02after some advice from nick, note that only com0 is currently supportedJason McIntyre
as serial; closes PR 3621 from Johan Fredin; ok nick@ krw@ millert@ deraadt@
2004-01-02PCI_PRODUCT_ALI_M1533 should use ali1543_init too. When the PCI id forTodd C. Miller
PCI_PRODUCT_ALI_M1543 was fixed machines with an M1533 stopped working. ok deraadt@
2004-01-02Treat all commands returning a sense data ASC of 0x29 as havingKenneth R Westerback
suffered a reset condition. Newer devices return a variety of ASCQ values now (0x00 -> 0x07) rather than just 0x00. Such commands will now be retried rather than returning EIO. Started off when Marco Peereboom's SCSI analyzer saw some ASC/ASCQ results of 0x29/0x02. ok miod@.
2004-01-02Add in missing ASC/ASCQ descriptions for non-RAMDISK (i.e.Kenneth R Westerback
non-SCSITERSE) kernels. Brings the list up to SCSI-3. From Marco Peereboom (marco at peereboom dot us). ok deraadt@.
2004-01-01Crank SHMMAXPGS from 2048 to 8192. Other platforms where peopleTodd C. Miller
are using lots of shm may also wish to also increase SHMMAXPGS. OK deraadt@
2004-01-01Crank SHMMNI from 32 -> 128 and SHMSEG from 8 -> 128. OK deraadt@Todd C. Miller
2004-01-01Oops, commited from the wrong tree.Miod Vallat
2004-01-01avoid redundant calls to sis_stop() for shared irqs; from freebsd; ok deraadt@Markus Friedl
2004-01-01Let this attach correctly.Miod Vallat
2004-01-01Add sram on mvme187.Miod Vallat
2004-01-01Inline pmap_copy() and pmap_phys_address().Miod Vallat
Also get rid of a spurious local initialization in pmap_remove_mapping().
2004-01-01Some typos just never die (here controler vs controller).Miod Vallat
2004-01-01document how to do -beta and -current taggingTheo de Raadt
2004-01-012004Theo de Raadt
2003-12-31spacing. note this, cedricTheo de Raadt
2003-12-31workaround: during npx exception testing, delay(1). For some reasonTheo de Raadt
amd64 (in 32 bit mode) and the new transmeta cpus want this, and lock up otherwise. very odd.
2003-12-31delay interfaces attach until "self" has been created; ok cedric@Markus Friedl
2003-12-31Many improvements to the handling of interfaces in PF.Cedric Berger
1) PF should do the right thing when unplugging/replugging or cloning/ destroying NICs. 2) Rules can be loaded in the kernel for not-yet-existing devices (USB, PCMCIA, Cardbus). For example, it is valid to write: "pass in on kue0" before kue USB is plugged in. 3) It is possible to write rules that apply to group of interfaces (drivers), like "pass in on ppp all" 4) There is a new ":peer" modifier that completes the ":broadcast" and ":network" modifiers. 5) There is a new ":0" modifier that will filter out interface aliases. Can also be applied to DNS names to restore original PF behaviour. 6) The dynamic interface syntax (foo) has been vastly improved, and now support multiple addresses, v4 and v6 addresses, and all userland modifiers, like "pass in from (fxp0:network)" 7) Scrub rules now support the !if syntax. 8) States can be bound to the specific interface that created them or to a group of interfaces for example: - pass all keep state (if-bound) - pass all keep state (group-bound) - pass all keep state (floating) 9) The default value when only keep state is given can be selected by using the "set state-policy" statement. 10) "pfctl -ss" will now print the interface scope of the state. This diff change the pf_state structure slighltly, so you should recompile your userland tools (pfctl, authpf, pflogd, tcpdump...) Tested on i386, sparc, sparc64 by Ryan Tested on macppc, sparc64 by Daniel ok deraadt@ mcbride@