summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2000-06-29Be more detach friendly. In particular, remove the infinite while() loopsAaron Campbell
waiting on S_COMMAND_IN_PROGRESS and replace them with a bounded loop count plus a small delay; from NetBSD.
2000-06-29No need to call bpfdetach(), that's done in if_detach().Aaron Campbell
2000-06-29Enable UKCMiod Vallat
2000-06-29Sync adw files with (almost) latest NetBSD versions:Kenneth R Westerback
adw.c synched with v1.23 (from v1.14) adw.h v1.9 ( v1.5 ) adwlib.c v1.17 ( v1.7 ) adwlib.h v1.13 ( v1.7 ) adwmcode.c v1.5 ( v1.2 ) adwmcode.h v1.5 ( v1.2 ) microcode for cards is updated to latest version, loss of carrier problems are solved in a more robust manner than before, lots of code cleanup. first support for upcoming U3W cards added, as a result of which the driver is now too large for RAMDISK and has been moved to RAMDISKB. Most of the work done by dante@ NetBSD.
2000-06-28syncFederico G. Schwindt
2000-06-28sync with NetBSD v1.7Kenneth R Westerback
2000-06-28add creat64 and mmap64.Federico G. Schwindt
2000-06-28disable adw (Advansys Ultra Wide) driver that is now too big for RAMDISK but ↵Kenneth R Westerback
still fits on RAMDISKB
2000-06-28enable adw (Advansys Ultra Wide) driver that is now too big for RAMDISK but ↵Kenneth R Westerback
still fits on RAMDISKB
2000-06-28look in kbd.h to see whether we have configured a keyboardmjacob
2000-06-28make the kbd have a kbd.h file (needs-flag)mjacob
2000-06-28repair panic message; bugfix@163.netTheo de Raadt
2000-06-28Remove pointless variable. It is set to 0, then returned without modification.Todd C. Miller
2000-06-28Make suspend -> eject card -> resume work.Aaron Campbell
On suspend, the apm code calls each function in its powerhook list. This list contains pointers to functions that are to be executed on PWR_SUSPEND and PWR_RESUME. One of these functions is pcmcia_power() which calls xxx_activate() for each PC Card that is connected with the action DVACT_ACTIVATE (where xxx is the name of the driver for the PC Card). On resume, the same thing happens, except the action is DVACT_ACTIVATE. Clearly, if a card is gone when we resume, trying to activate it is a bad idea. This commit adds a pcic_power() function that runs before pcmcia_power(). On resume, it uses pcic_intr_socket() to detect any events that occurred while we were suspended. (I had to split pcic_event_thread() into a threaded part and a non-threaded part, since the thread will not run when we are in interrupt context, but I need the events to be processed before pcmcia_power() runs.) So, by the time pcic_power() is through, all events that occurred during suspend have been processed, and pcmcia_power() will not try to activate cards that are not there since they have already been completely and properly detached. Note that event handling for card removals first calls the deactivate functions on the card then the detach functions. When we suspend, apm does the deactivate for us. So on resume, if we detect a card has been removed, we skip the deactivation step and just detach. We use the DVF_ACTIVE bit to determine whether or not deactivation has already occurred. Deactivating a device that has already been deactivated causes a panic.
2000-06-28Don't call the drivers' xxx_activate() function directly -- use the systemAaron Campbell
config_activate() and config_deactivate() routines instead. This way, the DVF_ACTIVE bit gets updated appropriately.
2000-06-27Move ac97 register defines into ac97.hArtur Grabowski
2000-06-27Make this driver work. When I ported it from FreeBSD, somehow a line got leftAaron Campbell
out. :-( It was never noticed until now since I didn't have an actual D-Link 550TX card to test with. Thanks to Gardner Cohen for sending me one of these.
2000-06-27Slight optimization of wakeup.Artur Grabowski
2000-06-26timeout is in seconds, not ticks.Artur Grabowski
2000-06-26New timeouts.Artur Grabowski
2000-06-26Instead of using an ugly hack with timeouts to wake up the processArtur Grabowski
waiting for resources, use the built-in facilities in tsleep.
2000-06-26Convert nfs_timer to new timeouts.Artur Grabowski
2000-06-26Make the check for !usermode in syscal a DIAGNOSTIC.Artur Grabowski
2000-06-26Make the definition of tcpstat in tcp_var.h extern.Artur Grabowski
2000-06-26Convert to new timeouts.Artur Grabowski
2000-06-26let svnd deal with sparse files, okay art@ deraadt@Niels Provos
2000-06-26interface can be faked for cmd chipsChris Cappuccio
2000-06-26from NetBSDChris Cappuccio
support CMD 648/649 UDMA66 controllers fix promise UDMA66 cable check
2000-06-26use new timeoutsArtur Grabowski
2000-06-26Use new timeouts.Artur Grabowski
2000-06-26alpha was missing memsetTodd C. Miller
2000-06-26Make the Linksys Combo PCMCIA EthernetCard (EC2T) work again; it was broken byAaron Campbell
the last commit for AX88190 support. There are at least three variants of ne's that have manufacturer id 0x143 (Linksys) + product id 0xc1ab. Each one has its enaddr in a different place. The matching code for PCMCIA NE2000 is really gross. In particular, the flags field in ne2000_devs (for NE2000DVF_DL10019 and NE2000_AX88190) is a complete hack. The driver should really try each method of reading the Ethernet address (from the ROM, DL10019, and AX88190) and choose the one that generates the correct checksum. I plan to fix this later...
2000-06-26syncAaron Campbell
2000-06-26Add a PCMCIA_CIS entry for the Linksys Combo PCMCIA EthernetCard EC2T.Aaron Campbell
2000-06-25disable automatic crashdump when swap encryption is onNiels Provos
2000-06-25Fix typo; ds@ds.primasoft.bgAaron Campbell
2000-06-25vnd needs blowfish. Ok provos@Marc Espie
2000-06-24syncFederico G. Schwindt
2000-06-24Implement getdents64, lstat64 and stat64, basically the same functions ofFederico G. Schwindt
the existing ones using 64bit vars. This makes netscape-solaris works on sparc. Particular note to those who want to try netscape: - netscape 4.73 was used for testing on a ss5 with -current. - apparently solaris uses pipes for communicating with the X server. I've checked the libraries I've installed from a solaris 2.6 box, and although there are references to X11-unix, it fails when it tries to open X11-pipe/X0, so in order to test it you need to specify -display <box ip>:0 or it won't start. - i got some errors when starting, but besides that, it works fine. - it's not slow, but you better have all the requiered files in the correct paths, or it'll take some time to start.
2000-06-23Implement PCMCIA event polling. This will either complement interrupt-drivenAaron Campbell
event notification from the pcic (if an interrupt is available) or allow the insertion and removal of PCMCIA devices even if there is no IRQ for the pcic. Each socket is checked for status change every 0.5 seconds using art's timeout code. Insertion and removal events should no longer ever go unnoticed.
2000-06-23Pass the correct sizeo() to cfattach struct so we don't panic on detach.Aaron Campbell
2000-06-23remove obsolete vtrace guts; art@Michael Shalayeff
2000-06-23ret should be there, wether auxreg/led is defined or not.Federico G. Schwindt
2000-06-22on unconfig, bzero the key before free; from aazubel@core-sdi.com.Federico G. Schwindt
2000-06-22regen-vtraceMichael Shalayeff
2000-06-22make vtrace always obsolte; art@Michael Shalayeff
2000-06-22Convert arptimer to new timeouts.Artur Grabowski
2000-06-22Convert to new timeouts.Artur Grabowski
2000-06-22xl_setmulti_hash() does not work right. tested at usenix2000 term room.Jun-ichiro itojun Hagino
affects 905B only.
2000-06-21Kirk announced that soft updates are free todayNiklas Hallqvist