Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-10-13 | Get rid of devact enum, substitute it with an int and coresponding defines. | Paul Irofti | |
This is needed for the addition of further suspend/resume actions. Okay deraadt@, marco@. | |||
2008-11-28 | Eliminate the redundant bits of code for MTU and multicast handling | Brad Smith | |
from the individual drivers now that ether_ioctl() handles this. Shrinks the i386 kernels by.. RAMDISK - 2176 bytes RAMDISKB - 1504 bytes RAMDISKC - 736 bytes Tested by naddy@/okan@/sthen@/brad@/todd@/jmc@ and lots of users. Build tested on almost all archs by todd@/brad@ ok naddy@ | |||
2008-10-02 | First step towards cleaning up the Ethernet driver ioctl handling. | Brad Smith | |
Move calling ether_ioctl() from the top of the ioctl function, which at the moment does absolutely nothing, to the default switch case. Thus allowing drivers to define their own ioctl handlers and then falling back on ether_ioctl(). The only functional change this results in at the moment is having all Ethernet drivers returning the proper errno of ENOTTY instead of EINVAL/ENXIO when encountering unknown ioctl's. Shrinks the i386 kernels by.. RAMDISK - 1024 bytes RAMDISKB - 1120 bytes RAMDISKC - 832 bytes Tested by martin@/jsing@/todd@/brad@ Build tested on almost all archs by todd@/brad@ ok jsing@ | |||
2007-10-11 | treat usb vendor/product names as a locator, and have usbd_print handle it, | Theo de Raadt | |
so that it shows up before the :. as a result, all the usb devices do not need to have name printing code anymore. all this now works and prints nicely because usbd_probe_and_attach() is serialized. ok kettenis | |||
2007-06-14 | Remove the definition and usage of the USB_DECLARE_DRIVER_CLASS and | Marc Balmer | |
USB_DECLARE_DRIVER macros. No binary change. ok dlg. | |||
2007-06-13 | Remove the definition and usage of the IF_INPUT macro which was defined | Marc Balmer | |
as ether_input_mbuf which is itself a macro for ether_input. No binary change. ok dlg. | |||
2007-06-12 | Remove the definition and use of the device_ptr_t which was a struct device *. | Marc Balmer | |
No binary change. ok mk. | |||
2007-06-10 | Remove the definition and use of the USBDEVNAME macro. | Marc Balmer | |
(This might look easy, but it was a big diff. Thanks to dlg and especially jsg for looking over it; we found at least four mistakes in the initial diff.) ok jsg. | |||
2007-06-10 | Remove the definition and use of the USBDEV macro. It only created confusion | Marc Balmer | |
and the address of it's argument: USBDEV(sc->sc_dev) yields &sc->sc_dev. No binary changes. ok jsg. | |||
2007-06-05 | Remove the "Static" declaration of many functions. It was defined to be empty | Marc Balmer | |
and it was not consistently used. It was confusing as it suggested these functions were static, which they were not. discussed with dlg and jsg, ok jsg. | |||
2007-06-04 | Last part of FreeBSD/NetBSD sepcific code removal. | Marc Balmer | |
ok jsg@ | |||
2007-05-31 | Fix dmesg output. -moj | Mats O Jansson | |
2007-05-27 | Farewell USB_{ATTACH,MATCH,DETACH}* you will not be missed. | Jonathan Gray | |
ok deraadt@ krw@ mbalmer@ | |||
2007-05-21 | Remove logprintf macro | Jonathan Gray | |
2007-05-21 | Remove Ether_ifattach macro | Jonathan Gray | |
2007-02-11 | Remove _KERNEL_OPT leftovers. | Miod Vallat | |
2007-01-09 | network byte order firmware, so that firmware files are the same on | Theo de Raadt | |
all architectures YOU HAVE TO INSTALL NEW FIRMWARE BEFORE BOOTING A NEW KERNEL | |||
2006-06-23 | In a drivers activate() entry point, if on DVACT_DEACTIVATE it does | Miod Vallat | |
something, then it MUST return zero on DVACT_ACTIVATE, not EOPNOTSUPP; this very popular bug has been cut and pasted a lot of times... ok deraadt@ mickey@ | |||
2006-03-25 | allow bpf(4) to ignore packets based on their direction (inbound or | Damien Miller | |
outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@ | |||
2006-03-07 | Remove last NRND NetBSDisms from tree. | Kenneth R Westerback | |
ok deraadt@ brad@ | |||
2006-01-29 | Use usbd_clear_endpoint_stall_async() when clearing endpoint stalls in | Brad Smith | |
an interrupt context. From NetBSD ok dlg@ | |||
2005-08-01 | Don't keep the devinfo string on the stack, instead use malloc/free. | Brad Smith | |
This should cure some rare stack overflows. From augustss NetBSD ok dlg@ pascoe@ | |||
2005-07-02 | clear IFF_RUNNING & IFF_OACTIVE in foo_stop() before de-allocating resources. | Brad Smith | |
2005-06-08 | remove netns crud. | Henning Brauer | |
some drivers actually had hooks for SIOCSIFADDR, most just useless includes "looks good" deraadt miod brad | |||
2005-01-15 | Add id for Psion Dacom Gold Port Ethernet found in Linux driver. | Jonathan Gray | |
2005-01-03 | - make sure int is in running state before touching the multicast filters | Brad Smith | |
- call foo_setmulti only instead of init'ing the chip - don't overwrite potential error return with success when calling ether_addmulti/ether_delmulti ok dlg@ | |||
2004-12-12 | fix proto | Theo de Raadt | |
2004-11-28 | kue(4) uses loadfirmware(9), but usb threaded probing starts before | Theo de Raadt | |
root is mounted. split up kue_attach() so that if in the worst case... it knows how to defer the second part until after the filesystem is up tested by maja, idea ok from miod | |||
2004-11-22 | relax warmboot detection, required for some models. ok deraadt@ | Daniel Hartmeier | |
2004-11-22 | firmware loading for kue(4), tested for me by dhartmei | Theo de Raadt | |
2004-11-10 | strncpy->strlcpy | Alexander Yurchenko | |
ok henning@ | |||
2004-10-16 | Add Silicom U2E found in linux driver. ok dlg@ | Jonathan Gray | |
2004-09-23 | don't need to set ifp->if_mtu or ifp->if_output in each driver, | Brad Smith | |
{ether,atm,fddi}_ifattach already does this. ok mcbride@ markus@ henning@ | |||
2004-07-08 | put "do { } while (0)" wrappers on all the debug maroc functions | Theo de Raadt | |
2004-06-02 | Add ether_{add,del}multi(), makes multicast work. | Ryan Thomas McBride | |
Testing & ok cedric@ | |||
2003-12-15 | Set devclass to DV_IFNET for all USB network drivers. | Cedric Berger | |
ok deraadt@ nate@ | |||
2003-05-07 | string cleanup; nate ok | Theo de Raadt | |
2002-07-29 | Refetch interface handle on reset. Avoids potential access to freed memory. | Nathan Binkert | |
From FreeBSD via NetBSD | |||
2002-07-25 | get rid of trailing whitespace | Nathan Binkert | |
2002-07-10 | shorten address printout | Theo de Raadt | |
2002-07-09 | Sync Id string with NetBSD | Nathan Binkert | |
2002-06-26 | Kill __FUNCTION__. | Marc Espie | |
2002-05-06 | sync with NetBSD | Nathan Binkert | |
2002-03-14 | Final __P removal plus some cosmetic fixups | Todd C. Miller | |
2001-12-17 | and of course, since the tree is so volatile now, i mess it up | Theo de Raadt | |
2001-12-17 | move more microcode, so that it does not end up in /usr/include | Theo de Raadt | |
2001-10-31 | Synchronize usb code with NetBSD. | Nathan Binkert | |
2001-07-08 | Don't set up ifq_maxlen manually for drivers that uses IFQ_MAXLEN | Federico G. Schwindt | |
(or ifqmaxlen); it's done in if_attach() now. No future drivers needs to set up this anymore unless they want to use something else. | |||
2001-06-27 | ALTQ'ify network drivers. | Kenjiro Cho | |
- use the new queue macros. - use IFQ_POLL() to peek at the next packet. - use IFQ_IS_EMPTY() for empty check. - drivers should always check if (m == NULL) after IFQ_DEQUEUE(), since it could return NULL even when IFQ_IS_EMPTY() is FALSE under rate-limiting. - drivers are supposed to call if_start from tx complete interrupts (in order to trigger the next dequeue under rate-limiting). | |||
2001-05-03 | Sync with NetBSD. Tested with a USB keyboard, USB mouse, and three different | Aaron Campbell | |
kue(4) Ethernet devices. |