summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2003-02-19Copy the ENTIRE table into the supported algorithms (how the hell did thisJason Wright
work before?!)
2003-02-19lzs is lzs, lzs is not deflateJason Wright
2003-02-19Leaving console polling mode works now, and workaround boot -a slow responseMiod Vallat
glitch.
2003-02-18Oops, remove debug code that was not supposed to be left hereMiod Vallat
2003-02-18gsc_intr is a leafMichael Shalayeff
2003-02-18knf; mickey okTheo de Raadt
2003-02-18fix the way stack is written into the core file on the upward growing stack ↵Michael Shalayeff
machines. the other case is not affected. miod@ deraadt@ ok
2003-02-18missed in lzs addition: allow LZS as an comp typeJason Wright
2003-02-18convert to new registration schemeJason Wright
2003-02-18nicerTheo de Raadt
2003-02-18intial -> initialJason McIntyre
ok mickey@
2003-02-18intial -> initial;Jason McIntyre
the great intial witch hunt, as prompted by tdeval@ os-aix-dso.c: ok henning@ ab.C: ok drahn@
2003-02-18Let kernels compile without DDB, USELEDS, and DIAGNOSTIC.Miod Vallat
For future intallation media.
2003-02-18Whenever possible, store the prom font data in off-screen frame bufferMiod Vallat
memory, and use block move operations in putchar, rather than keeping a copy of the prom font in memory and using memory to frame buffer transfers. Recommended by the sti docs. No visible performance improvement though. Tested on both kind of sti devices by mickey@ and myself.
2003-02-18Enforce min-ttl and random-id on inbound scrub as well as outbound.Camiel Dobbelaar
ok dhartmei@
2003-02-18copyrights added;Jason McIntyre
*installboot*: all Paul Kranenburg pppctl(8): Brian Somers rpc.bootparamd(8): public domain
2003-02-18copyrights added;Jason McIntyre
these are all Regents of the University of California
2003-02-18Map just the requested pages not p_aligned pages. ok art@Dale Rahn
2003-02-18Real polled mode console support, enough to play hangman in ddb.Miod Vallat
Still a minor issue left for tomorrow.
2003-02-18The previous boot device detection code would not work on old pdc machinesMiod Vallat
netbooting from an rbootd server. In this case, the pdc masquerades the boot device as a disk class device, although keeping the device_path correct. So, rather than trusting the device class the pdc reports, trust what the kernel just configured - it must know better.
2003-02-18syncTheo de Raadt
2003-02-18new fxp; cube@cubidou.netTheo de Raadt
2003-02-18Track enable state and behave appropriately.Miod Vallat
Also, better probe for leds on keyboard.
2003-02-17Allow the generic ps/2 mouse driver, pms, to attach to gsckbc as well.Miod Vallat
Thankfully HP's ps/2 mouse have no specific behaviour.
2003-02-17Since the ps/2 input ports show up as two different devices, with the sameMiod Vallat
irq, but hppa has no generic shared interrupt code, we need to make sure that gsckbc devices using the same irq know each other, and will pass the interrupt notification to each other. This allow a mouse and a keyboard to work together...
2003-02-17can use the same bus_space_read_region_4() to copy both type1 and type4 ↵Michael Shalayeff
prom; tested on type4 by me and miod on type1
2003-02-17enqueue the copy that was just made, not the original (probably fixes ↵Jason Wright
kernel/3097, waiting to hear).
2003-02-17whitespace, typos, and compression structure defnsJason Wright
2003-02-17oopsMichael Shalayeff
2003-02-17Add support for the Sun Enterprise 450Henric Jungheim
Reduce the size of a GENERIC kernel by ~190k Remove the nasty pointer/bus_space_handle_t casts Adds debug bus_space code including the ability to trace bus operations (it actually works now). The following rules are now followed (and verfified by the debug code): 1. A "bus_space_handle_t" may only be used with the "bus_space_tag_t" that created it. 2. Only "bus_space_map()" may create "bus_space_handle_t"s. 3. A "bus_space_handle_t" may not be modified after it has been created (other than being destroyed by "bus_space_unmap()"). Thanks to help from mcbride, marc, jason, drahn, to anyone that might have slipped my mind at the moment. ok jason@, deraadt@
2003-02-16KNFTheo de Raadt
2003-02-16KNFJason Wright
2003-02-16Provide a wskbd type for gsc keyboards, make gsckbd use it, and take advantageMiod Vallat
of it in kbd(8) to work correctly with such a keyboard. Reminded by maja some time ago.
2003-02-16RegenMiod Vallat
2003-02-16Although some hppa models, such as the 715, will require specific keyboards,Miod Vallat
some others, like the 712, will run with a regular ps/2 keyboard from your average computer shop, and the hardware will convert the scancodes so that they match the braindead gsc usage. Thus, it makes no point carrying a specific set of keyboard layouts for gsckbd, when in fact it's (almost) the same as for pckbd, with scancodes shuffled. So, add a simple scheme to build gsckbd tables from the pckbd tables. This brings all the international layouts from pckbd, but jp and br have extra keys for which I don't know the scancodes, so the generated gsckbd layouts are incomplete.
2003-02-15A simple and crude driver to play with the hil so-called ``ID module''Miod Vallat
devices. The ID module only purpose is to provide a small, unique, bitstring, which was used for some copy-protection or licensing scheme under HP-UX. Right now this driver is useless, as it provides no way to communicate this information to userland, and only displays it while attaching, as such: hilid0 at hil0 code 2: ID module hilid0: security code 10 04 b4 41 ac 77 14 0f 41 00 00 00 00 00 00 00 hilid1 at hil0 code 3: ID module hilid1: security code 10 04 b4 41 e3 b8 13 0f 41 00 00 00 00 00 00 00 Too bad it's not even good enough to feed the kernel random generator...
2003-02-15Provide a "code" locator for hil devices. This will let people ask theirMiod Vallat
kernels to attach hilkbd0 (console keyboard) or hilms0 (main mouse) to a specific device in the loop, by using UKC or compiling a new kernel. Using this and the previous console changes, it is now possible on a loop with multiple keyboards, to choose which keyboard will be the console keyboard.
2003-02-15Rework the console management on hppa:Miod Vallat
- only attach a keyboard as a console if it matches the PDC keyboard path - on hil, as there can be multiple keyboards on the loop, attach only the first hilkbd device configured as console keyboard. Right now this means the one with the lowest hil code, which was the existing behaviour so far. - do not try to switch to the wscons consdev structure early at all in wscons_machdep, but rather wait for the console to be completely configured (i.e. both wskbd and wsdisplay are attached) to switch. With feedback and help from mickey@
2003-02-15kill the remaining typedefs (These are about the last trace of InvertexJason Wright
save for the copyright message).
2003-02-15- Better type usage in the various hil code: prefer u_int8_t to u_char, butMiod Vallat
do not stick to u_int8_t when native word size can do the job better. - Allow send_hildev_cmd() to return the command response buffer to its caller, rather than forcing it to look at the guts of its parent device softc... this will be needed shortly.
2003-02-15skeleton support for LZS compressionJason Wright
2003-02-15Disable sti1, yes, but correctly...Miod Vallat
2003-02-15s/LSZ/LZS (consistent with linux and isakmpd *.cst)Jason Wright
2003-02-15CRD_F_COMP isn't so special that it needs 4 bits for a binary flagJason Wright
2003-02-15Increase xfer rates buffer from 8 to 12 bytes. This allows 802.11gTodd C. Miller
stations such as the airport extreme to associate. Tested by Ben Lovett.
2003-02-15rip_output: make sure a full ip header is passed for INP_HDRINCL; ok deraadt@Markus Friedl
2003-02-15Remove misleading (and incorrect) HIL_STATMASK definition.Miod Vallat
2003-02-15gsckbc is more sensitive than pckbc; always allow the enable() accessopMiod Vallat
to proceed on the console keyboard, or it would not be in a good state to handle boot -s prompt. Found the hard way by mickey@
2003-02-15The current hppa code would always ask for the root device, when runningMiod Vallat
a kernel configured with "swap generic". This feature was relied upon by Theo de Raadt, so that he would have to go downstairs to type "sd0a\n\n" every time he would want to try a new kernel, effectively forcing his body to take exercise trim the fat. No more! This commit adds code to correctly detect the root device, currently either a network interface or an scsi block device. This is slightly tricky, as all the information the PDC gives up is the controller device and its numeric subpath, and we need to match the real device from that... Tested and found to be working on ie and sd only so far. This commit is brought to you by the so-called friends of Theo de Raadt.
2003-02-14Do not allow sti1 to attach at the moment, as it will not work correctly;Miod Vallat
a fix is in the works.