summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2003-02-24Various typos.Miod Vallat
2003-02-23initialize errorTed Unangst
ok miod@
2003-02-21Fix Manuel Bouyer's copyright, from NetBSDAlexander Yurchenko
ok deraadt@
2003-02-21remove unused variableTed Unangst
ok mickey@
2003-02-20Fix a crash in the systrace found by form@Artur Grabowski
One is a kernel fix that changes the lockin and one is a userland fix that prevents dereferencing a freed pointer. From provos deraadt@ ok
2003-02-20no trailing newline in panic(); PR 3103Henning Brauer
2003-02-20In typical linux style, set a magic bit that makes the floppy work onJason Wright
a machine with yds; reported by kurem at upcase dot inf dot upol dot cz
2003-02-19- Bump size of MAX_RESULT by 4 to include compression resultJason Wright
- add defines for compression - add bit/structure defintions for the result structures
2003-02-19Sync if_vr code with FreeBSD. This makes the driver much better when it comesMiod Vallat
to trying to recover the hardware going nuts under the load. Reported to work by various people including krw@and I.
2003-02-19RegenMiod Vallat
2003-02-19Recognize ICS1893; from NetBSDMiod Vallat
2003-02-19use a nop with I bit set at the end of the tx chain. This avoids a raceJason Wright
between status update and clearing the suspend bit on machines which can't write data smaller than 32bits at a time. Diff is the work of pefo, he just has been slacking too much to commit =)
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-18convert to new registration schemeJason Wright
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-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-18Real polled mode console support, enough to play hangman in ddb.Miod Vallat
Still a minor issue left for tomorrow.
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-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-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-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-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-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-15Remove misleading (and incorrect) HIL_STATMASK definition.Miod Vallat
2003-02-14always need softintr after rxexception (avoids uninitialized variable); ↵Jason Wright
pointed out by henric
2003-02-14Do not do arithmetic on bus_space_handle_t.Henric Jungheim
ok jason@
2003-02-14Let UBSEC_DEBUG compile; based on diff from sam at errno dot comJason Wright
(also nuke the last vtophys so it'll even work on sparc64)
2003-02-13Don't force all ATAPI devices to PIO mode 3, there areAlexander Yurchenko
devices which only support PIO mode 2 or less. Use atap_oldpiotiming to obtain supported mode for such devices. Also use SET FEATURES only for PIO mode > 2. Work by Alec Skelly <alec@dtkco.com> with my little help. ok costa@
2003-02-13Plug mbuf leak when there is an IV mismatch during software decrypt.Todd C. Miller
Found by dhartmei@; I thought he committed the fix but appearently not. Also make the debugging printf for IV mismatch more useful.
2003-02-13proper free order; from sturm@Michael Shalayeff
2003-02-13Final part of NVIDIA nForce/nForce2 IDE support:Alexander Yurchenko
- registers definitions - timing values setup - cable detection Partially from Linux, FreeBSD and AMD specs. Many thanks to Johan Lindman <tybollt@solace.mh.se> for providing access to the testing machine. ok gluk@
2003-02-13Add cable detection for AMD chips, directly from AMD specs.Alexander Yurchenko
Tested by todd@; ok gluk@
2003-02-13support for 3C905B internal PHY; markus@ ok.Federico G. Schwindt
2003-02-13add 3C905B internal PHY.Federico G. Schwindt
2003-02-12replace crc32 code with BSD licensed code from opensshMarkus Friedl
2003-02-12It is not clear that the order of operations will be what the programmerHenric Jungheim
intended. (This fixes a gcc3 warning.) ok jason, millert
2003-02-12in async mode, send SIGIO to the process group of the process thatMatthieu Herrb
requested the signal. This is coherent with what /dev/tty does and the current implementation of fcntl(F_SETOWN). Ok deraadt@
2003-02-12Labels must be followed by a statement. (Pointed out by gcc3.)Henric Jungheim
ok jason@
2003-02-12Define a wsmouse type for HIL mice.Miod Vallat