summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2005-10-18Scan SMBIOS before calling config_attach() to prevent unnecessary kernel print.Marco Peereboom
Written with jordan@ help. ok deraadt@
2005-10-18getnewfsid() was renamed and moved to sys/mount.h long ago; ok pedroJared Yanovich
2005-10-18remove wrong definition since result really belongs to stat (which isFederico G. Schwindt
already there).
2005-10-18Add some missing IDE/SATA interfaces..Brad Smith
- Via VT6421 SATA - ServerWorks HT-1000 IDE - ServerWorks Frodo4/Frodo8 and HT-1000 SATA - NVidia NForce3 250 2nd channel, MCP04 and MCP51 ok grange@
2005-10-18Use PSR_IND rather than recomputing it from PSR_INTERRUPT_DISABLE_BIT;Miod Vallat
spotted by martin.
2005-10-18Put rev 1.56 back in and make sure to include the header soBrad Smith
it actually compiles this time.
2005-10-18revert last commit for now.Brad Smith
2005-10-18Make sure that if_timer does not get reset if there are packetsBrad Smith
still queued for transmission. This should solve the problem of the device stalling on transmissions if some link event prevents transmission. From luigi FreeBSD ok pedro@ hshoexer@
2005-10-17knfTheo de Raadt
2005-10-17remove /bcom5421 from the OF device map table, this is actually a PHY.Brad Smith
ok deraadt@
2005-10-17* Fix SMBIOS Table addressJordan Hargrave
mapped memory instead of ISA_HOLE_VADDR for SMBIOS tables in high memory * Added ipmi_poll variable to control sensor polling * Add Power Supply sensor type * Fixed chassis intrusion reading * Added Block-Transfer interface BT is transport protocol to BMC * Fixed threshold values Bits in Sensor reading did not contain correct values for threshold vioation; must compare reading against actual threshold. * KNF ok: marco@
2005-10-17Performing certain operations on queue.h data structurs producedOtto Moerbeek
funny results. An example is calling LIST_REMOVE on the same element twice. This will not fail, but result in a data structure referencing who knows what. Prevent these accidents by NULLing some fields on remove and replace. This way, either a panic or segfault will be produced on the faulty operation. Tested by many, ok deraadt@
2005-10-17don't say no more if there is no driver for icu; lessen noiseMichael Shalayeff
2005-10-17Rename ncpus to alpha_ncpus so that MI ncpus matches the number ofMiod Vallat
attached processors; deraadt@ ok
2005-10-17Store the usb device names and vendors in more compact structures.Dale Rahn
Originally committed in 2001, backed out in a sync, now back in. saves close to 12k of kernel size. commit deraadt@
2005-10-17Simplify case statement in apollo_chip_map().Jonathan Gray
2005-10-17Recognise VT8251. From Blake Willis <blake at 2112.net>.Jonathan Gray
ok grange@
2005-10-17regenJonathan Gray
2005-10-17VIA K8M800/VT8251 devices from Blake Willis <blake at 2112.net>.Jonathan Gray
2005-10-17define a mask to extract the result from status.Federico G. Schwindt
2005-10-17make pf use one mbuf tag instead of 6 distinct ones. use a little structHenning Brauer
in the data part for the data from the previously distinct tags. look up the tag early and carry a pointer to it around. makes the code easier and saves some tag lookups and thus helps performance, as proven by tests run by Schberle Dniel <Schoeberle.Daniel@aamtech.hu> Initially hacked up somewhere over the atlantic ocean in an A330 early testing reyk and moritz, "put it in" theo
2005-10-17Don't clear dma_in_progress flag too early, noticed by jason@.Alexander Yurchenko
2005-10-17Fixup cacheline on sii3114 like we do for sii3112;Alexander Yurchenko
from ragge@netbsd via jason@.
2005-10-17Enable APC CMOS RAM reading code on amd64 for some embedded sis(4) chips.Brad Smith
2005-10-17Start using the unused sc_variant to identify the GMAC vendor and chipsetBrad Smith
model to the MI part of the driver. On Apple systems only attach the PHY to location 0, unless using a K2 GMAC, then use location 1. Tested by drahn@ and kettenis@
2005-10-16make ukphy dmesg attach print on one line.Brad Smith
2005-10-16Turn /k2-sata-root into T_BUS; makes us recognize the bootpath of internalMark Kettenis
disks on G5 systems with K2 SATA. ok deraadt@
2005-10-16Allow PCI_INTERRUPT_PIN_NONE for the interrupt pin.Mark Kettenis
HyperTransport delivers interrupts via messages and does not define any interrupt pins. (The documentation even warns that some operating systems will not function correctly without a non-zero value in its Interrupt Pin configuration space register.) ok deraadt@
2005-10-16Add SError register offset, and a tiny cosmetics in nestedAlexander Yurchenko
inclusion protection.
2005-10-16ServerWorks SATAMark Kettenis
ok deraadt@, grange@
2005-10-16Don't pound UNIT ATTENTION retries in as fast as possible. If we areKenneth R Westerback
going to retry the command, pause for a second to let the condition clear. Just as we do for certain NOT READY conditions. Found with the help of, and fixes Ed Wandasiewicz's IBM USB Memory key. ok deraadt@
2005-10-16While in em_process_receive_interrupts() processing the packet em_init()Brad Smith
may be called (either from em_watchdog() from softclock interrupt or from ifconfig). em_init() resets the card, in particular it sets sc->next_rx_desc_to_check to 0 and resets hardware RX Head and Tail descriptor pointers. The loop in em_process_receive_interrupts() does not expect these things to change, and a mess may result. >From glebius FreeBSD ok krw@
2005-10-16better diagnostic on tx error.Federico G. Schwindt
2005-10-16print the hardware irq number, not the bogus internal number for 'vmstat -i'Dale Rahn
2005-10-15add 2 new Yukon PCI ids and recognize Yukon-2 EC Ultra ASIC.Brad Smith
2005-10-15update Via and 3Com ids.Brad Smith
2005-10-15regenBrad Smith
2005-10-15- add new vendor ids for Pacific Data and Vitesse Semiconductor.Brad Smith
- change 3Com GIG to 3Com 3c940B. - add SATA controllers from Acer Labs, Marvell, NVidia, Pacific Data, Via, and Vitesse. - add and update wireless ids from Marvell.
2005-10-15Fall back on OF to reboot/power down.Mark Kettenis
commit drahn@
2005-10-15Eliminate unnecessary bzero() by only writing valid information.Kenneth R Westerback
Eliminate separate check/break from for() loop. No functional change. ok deraadt@
2005-10-15regenBrad Smith
2005-10-15more Marvell Yukon PCI ids.Brad Smith
From: Linux sk98lin driver
2005-10-15- merge adb_direct.h bits into adbvar.hMartin Reindl
- rename ADB_HW_PB to ADB_HW_PMU from NetBSD ok brad@; additonal testing krw@
2005-10-15- put spl's right in the code and remove the macrosBrad Smith
- remove splassert()'s - remove empty bus_dma_tag_destroy macro from code and header
2005-10-15regenBrad Smith
2005-10-15Tweak names and add entries to the RCC (ServerWorks/Broadcom) PCI ids.Brad Smith
Based on Linux's pci.ids and sata_svw.c
2005-10-15sort PCI idsBrad Smith
2005-10-15remove `workaround' for supported data rates now that core is fixed.Federico G. Schwindt
ifconfig -m shows the correct rates now. tested by joris@, deraadt@ go ahead.
2005-10-15correctly parse the supported data rates. needed by wi@usb.Federico G. Schwindt
tested by jsg@ and joris@, deraadt@ go ahead.
2005-10-15spl values are int; evol@online.ptt.ruTheo de Raadt